master
|
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
|
|
Go to the documentation of this file.
14 #define NBINSMODELPARS 100
59 const std::string& ModelConf_i,
60 const std::string& MonteCarloConf_i,
61 const std::string& OutFile_i,
62 const std::string& JobTag_i);
140 void Run(
const int rank);
159 boost::ptr_vector<Observable>
Obs;
161 std::vector<CorrelatedGaussianObservables>
CGO;
162 std::vector<CorrelatedGaussianParameters>
CGP;
void TestRun(int rank)
This member is used for test runa to generate a single event.
bool checkrun
A check to make sure TestRun()and Run() are not called consecutively.
std::string ObsDirName
String for the output directory name.
void addCustomObservableType(const std::string name, boost::function< Observable *() > funct)
std::string CalculateNormalization
< Flag for calculating the evidence.
std::map< std::string, BCH2D > getHistograms2D() const
bool RunMinuitOnly
Flag for running Minuit only.
InputParser myInputParser
An object of the InputParser class.
std::string JobTag
String for the optional JobTag argument to be passes to the executable.
bool PrintAllMarginalized
Flag for printing all Marginalized distributions to be passed on to the BAT routines.
int NIterationNormalizationMC
< Number of iterations for MC integral done to compute normalization of a model
std::vector< Observable2D > Obs2D
Vector for the Observables2D defined in SomeModel.conf.
std::vector< CorrelatedGaussianParameters > CGP
Vector for the Correlated Gaussian Parameters defined in SomeModel.conf.
bool PrintTrianglePlot
Flag for printing the triangle plot.
std::string OutFile
String for the name of the output root file without the .root extension.
bool writechains
Flag for writing the chains of paramters and observables during the MCMC run.
void ParseMCMCConfig(std::string file)
bool PrintCorrelationMatrix
Flag for printing the correlation matrix.
boost::ptr_vector< Observable > Obs
Vector for the observables defined in SomeModel.conf.
void Run(const int rank)
This member is responsible for setting the Monte Carlo run parameters and conducting the Monte Carlo ...
std::vector< ModelParameter > ModPars
Vector for the model parameters defined in SomeModel.conf.
bool WritePreRunData
Flag for printing the overview parameter plots.
virtual ~MonteCarlo()
The default destructor.
void ReadPreRunData(std::string file)
std::vector< CorrelatedGaussianObservables > CGO
Vector for the Correlated Gaussian Observables defined in SomeModel.conf.
MonteCarloEngine MCEngine
An object of the MonteCarloEngine class.
bool PrintKnowledgeUpdatePlots
Flag for printing plots to compare prior vs. posterior knowledge of parameters.
std::map< std::string, BCH2D > getHistograms2D() const
A get method to access the map of 2D histograms.
bool PrintParameterPlot
Flag for printing the overview parameter plots.
bool FindModeWithMinuit
Flag for using Minuit libraries.
std::map< std::string, BCH1D > getHistograms1D() const
A get method to access the map of 1D histograms.
MonteCarlo(ModelFactory &ModelF, ThObsFactory &ThObsF, const std::string &ModelConf_i, const std::string &MonteCarloConf_i, const std::string &OutFile_i, const std::string &JobTag_i)
Constructor.
std::string ModelConf
String for the name of the SomeModel.conf file.
An engine class for Monte Carlo.
std::string MCMCConf
String for the name of the MonteCarlo.conf file.
std::string ModelName
The name of the model.
std::map< std::string, BCH1D > getHistograms1D() const