master
|
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
|
|
Go to the documentation of this file.
8 #ifndef GENERATEEVENT_H
9 #define GENERATEEVENT_H
17 #include "boost/shared_ptr.hpp"
18 #include "boost/make_shared.hpp"
59 const std::string& ModelConf_i,
60 const std::string& OutDirName_i,
61 const std::string& JobTag_i
87 void generate(
int unsigned nIteration_i,
int seed = 0,
bool weight_i =
false);
112 void setDParsFromParameters(
const std::vector<double>& parameters, std::map<std::string,double>& DPars_i);
115 std::map<std::string, double>
DPars;
117 std::map<std::string, boost::shared_ptr<std::ofstream> >
ObsOut;
118 std::map<std::string, boost::shared_ptr<std::ofstream> >
CGOOut;
119 std::map<std::string, boost::shared_ptr<std::ofstream> >
ParsOut;
123 boost::ptr_vector<Observable>
Obs;
125 std::vector<CorrelatedGaussianObservables>
CGO;
126 std::vector<CorrelatedGaussianParameters>
CGP;
GenerateEvent(ModelFactory &ModelF, ThObsFactory &ThObsF, const std::string &ModelConf_i, const std::string &OutDirName_i, const std::string &JobTag_i)
Constructor.
std::string CGODirName
String for the name of the Correlated Gaussian Observables output directory.
std::vector< Observable2D > Obs2D
Vector for the Observables2D defined in SomeModel.conf.
std::vector< CorrelatedGaussianObservables > CGO
vector for the Correlated Gaussian Observables defined in SomeModel.conf.
std::string ObsDirName
String for the name of the observables output directory.
std::map< std::string, double > DPars
Map of parameters to be passed to Model().
A class for generating events.
bool outputTerm
Flag to specify output stream storage.
void addCustomObservableType(const std::string name, boost::function< Observable *() > funct)
StandardModel * Mod
Name of the model as defined in SomeModel.conf.
std::string OldOutDirName
String for the name of the backup output directory.
char processorName[MPI_MAX_PROCESSOR_NAME]
std::string ModelConf
String for the name of the SomeModel.conf file.
std::vector< ModelParameter > ModParsVar
Vector for the model parameters varied in SomeModel.conf.
A model class for the Standard Model.
std::string JobTag
String for the optional JobTag argument to be passes to the executable.
std::vector< CorrelatedGaussianParameters > CGP
vector for the Correlated Gaussian Parameters defined in SomeModel.conf.
std::map< std::string, boost::shared_ptr< std::ofstream > > ParsOut
Map of output stream for parameters.
boost::ptr_vector< Observable > Obs
Vector for the observables defined in SomeModel.conf.
void defineParameterDistributions()
The parameter distributions as specified in SomeModel.conf is defined here.
std::string SUSYDebugDirName
String for the name of the Correlated Gaussian Observables output directory.
void generate(int unsigned nIteration_i, int seed=0, bool weight_i=false)
The method used to generate events and format output.
InputParser myInputParser
An oject of the InputParser() class.
std::string SMDebugDirName
String for the name of the observables output directory.
std::map< std::string, boost::shared_ptr< std::ofstream > > CGOOut
Map of output stream for corellated Gaussian observables.
std::string OutDirName
String for the name of the output directory.
std::map< std::string, boost::shared_ptr< std::ofstream > > ObsOut
Map of output stream for observables.
std::map< std::string, TF1 * > DDist
Map of parameter distributions.
void generateRandomEvent(int iterationNo)
This member generates random numbers for the parameters being varied in the model....
std::vector< ModelParameter > ModPars
Vector for the model parameters defined in SomeModel.conf.
virtual ~GenerateEvent()
The default destructor.
std::string ParsDirName
String for the name of the parameters output directory.
void setDParsFromParameters(const std::vector< double > ¶meters, std::map< std::string, double > &DPars_i)