MINT2
|
#include <IEvtGen.h>
Public Member Functions | |
IEvtGen (const std::string &inputFileName, const std::vector< int > &pattern, TRandom *rand, const double &unitConversion) | |
virtual | ~IEvtGen () |
void | GenerateEvent (std::vector< std::vector< double >> &daughters, double &weight_gen) |
std::vector< double > | GetDaughter (const IDalitzEvent *const event, const unsigned int &daughter_id) |
Private Attributes | |
const double | m_unitConversion |
SignalGenerator * | m_sg |
IEvtGen::IEvtGen | ( | const std::string & | inputFileName, |
const std::vector< int > & | pattern, | ||
TRandom * | rand, | ||
const double & | unitConversion | ||
) |
Interface to EvtGen Requires Mint steering file as argument The pattern should be deduced in the EvtGen model The random number generator should point to the EvtGen implementation Requires unit conversion rate between Mint and EvtGen as argument Mint 4-vectors will be divided by this factor and returned to EvtGen
Definition at line 5 of file IEvtGen.cpp.
void IEvtGen::GenerateEvent | ( | std::vector< std::vector< double >> & | daughters, |
double & | weight_gen | ||
) |
Generate single event in Mint
Definition at line 22 of file IEvtGen.cpp.
std::vector< double > IEvtGen::GetDaughter | ( | const IDalitzEvent *const | event, |
const unsigned int & | daughter_id | ||
) |
Intermediary to go between Mint and EvtGen 4-vector types
Definition at line 40 of file IEvtGen.cpp.
|
private |