GenerateEvent Class Reference

A class for generating events. More...

#include <GenerateEvent.h>

Collaboration diagram for GenerateEvent:
[legend]

Detailed Description

A class for generating events.

Author
HEPfit Collaboration

Definition at line 41 of file GenerateEvent.h.

Public Member Functions

void addCustomObservableType (const std::string name, boost::function< Observable *() > funct)
 
void generate (int unsigned nIteration_i, int seed=0, bool weight_i=false)
 The method used to generate events and format output. More...
 
 GenerateEvent (ModelFactory &ModelF, ThObsFactory &ThObsF, const std::string &ModelConf_i, const std::string &OutDirName_i, const std::string &JobTag_i, const bool noMC_i)
 Constructor. More...
 
virtual ~GenerateEvent ()
 The default destructor. More...
 

Private Member Functions

void createDirectories ()
 
void defineParameterDistributions ()
 The parameter distributions as specified in SomeModel.conf is defined here. More...
 
void generateRandomEvent (int iterationNo)
 This member generates random numbers for the parameters being varied in the model. The first set is always the central value of the parameter. More...
 
void initModel ()
 
void setDParsFromParameters (const std::vector< double > &parameters, std::map< std::string, double > &DPars_i)
 

Private Attributes

double ** buff
 
int ** buff_int
 
double ** buff_w
 
int buffersize
 
std::vector< CorrelatedGaussianObservablesCGO
 vector for the Correlated Gaussian Observables defined in SomeModel.conf. More...
 
std::string CGODirName
 String for the name of the Correlated Gaussian Observables output directory. More...
 
std::map< std::string, boost::shared_ptr< std::ofstream > > CGOOut
 Map of output stream for corellated Gaussian observables. More...
 
std::vector< CorrelatedGaussianParametersCGP
 vector for the Correlated Gaussian Parameters defined in SomeModel.conf. More...
 
std::map< std::string, TF1 * > DDist
 Map of parameter distributions. More...
 
std::map< std::string, double > DPars
 Map of parameters to be passed to Model(). More...
 
std::string JobTag
 String for the optional JobTag argument to be passes to the executable. More...
 
ModelMod
 Name of the model as defined in SomeModel.conf. More...
 
std::string ModelConf
 String for the name of the SomeModel.conf file. More...
 
std::string ModelName
 
std::vector< ModelParameterModPars
 Vector for the model parameters defined in SomeModel.conf. More...
 
std::vector< ModelParameterModParsVar
 Vector for the model parameters varied in SomeModel.conf. More...
 
InputParser myInputParser
 An oject of the InputParser() class. More...
 
int nIteration
 
bool noMC
 Flag to initiate noMC mode. More...
 
boost::ptr_vector< ObservableObs
 Vector for the observables defined in SomeModel.conf. More...
 
std::vector< Observable2DObs2D
 Vector for the Observables2D defined in SomeModel.conf. More...
 
std::string ObsDirName
 String for the name of the observables output directory. More...
 
std::map< std::string, boost::shared_ptr< std::ofstream > > ObsOut
 Map of output stream for observables. More...
 
std::string OldOutDirName
 String for the name of the backup output directory. More...
 
std::string OutDirName
 String for the name of the output directory. More...
 
bool outputTerm
 Flag to specify output stream storage. More...
 
std::string ParsDirName
 String for the name of the parameters output directory. More...
 
std::map< std::string, boost::shared_ptr< std::ofstream > > ParsOut
 Map of output stream for parameters. More...
 
int positionID
 
int procnum
 
int rank
 
double * sendbuff
 
int * sendbuff_int
 
double * sendbuff_w
 
std::string SMDebugDirName
 String for the name of the observables output directory. More...
 
std::ofstream summary
 
std::string SUSYDebugDirName
 String for the name of the Correlated Gaussian Observables output directory. More...
 
bool weight
 

The documentation for this class was generated from the following files: