13 #include <BAT/BCH1D.h>
14 #include <BAT/BCH2D.h>
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;
bool checkrun
A check to make sure TestRun()and Run() are not called consecutively.
std::map< std::string, BCH1D * > getHistograms1D() const
double normalization
A variable to store the evidence of a model.
std::string ObsDirName
String for the output directory name.
void addCustomObservableType(const std::string name, boost::function< Observable *() > funct)
bool CalculateNormalization
< Flag for calculating the evidence.
void ReadPreRunData(std::string file)
bool PrintParameterPlot
Flag for printing the overview parameter plots.
MonteCarloEngine MCEngine
An object of the MonteCarloEngine class.
std::string OutFile
String for the name of the output root file without the .root extension.
bool PrintAllMarginalized
Flag for printing all Marginalized distributions to be passed on to the BAT routines.
void Run(const int rank)
This member is responsible for setting the Monte Carlo run parameters and conducting the Monte Carlo ...
std::map< std::string, BCH1D * > getHistograms1D() const
bool WritePreRunData
Flag for printing the overview parameter plots.
std::vector< CorrelatedGaussianParameters > CGP
Vector for the Correlated Gaussian Parameters defined in SomeModel.conf.
std::map< std::string, BCH2D * > getHistograms2D() const
std::vector< ModelParameter > ModPars
Vector for the model parameters defined in SomeModel.conf.
bool PrintKnowledgeUpdatePlots
Flag for printing plots to compare prior vs. posterior knowledge of parameters.
void TestRun(int rank)
The default destructor.
std::map< std::string, BCH2D * > getHistograms2D() const
bool PrintCorrelationMatrix
Flag for printing the correlation matrix.
An engine class for Monte Carlo.
std::string ModelName
The name of the model.
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::vector< Observable2D > Obs2D
Vector for the Observables2D defined in SomeModel.conf.
boost::ptr_vector< Observable > Obs
Vector for the observables defined in SomeModel.conf.
std::vector< CorrelatedGaussianObservables > CGO
Vector for the Correlated Gaussian Observables defined in SomeModel.conf.
InputParser myInputParser
An object of the InputParser class.
bool FindModeWithMinuit
Flag for using Minuit libraries.
std::string MCMCConf
String for the name of the MonteCarlo.conf file.
std::string JobTag
String for the optional JobTag argument to be passes to the executable.
std::string ModelConf
String for the name of the SomeModel.conf file.