6 const std::vector<int>& pattern,
7 TRandom* rand,
const double& unitConversion )
8 : m_unitConversion(unitConversion)
16 std::cout <<
"Mother Particle " << pattern[0] << std::endl
17 <<
" got event pattern: " << pdg << std::endl;
30 for(
unsigned int i=1;
31 i<static_cast<unsigned int>(event->eventPattern().numDaughters()+1);
33 const std::vector<double> daughter =
GetDaughter(event, i);
34 daughters.push_back(daughter);
37 weight_gen =
event->getGeneratorPdfRelativeToPhaseSpace();
41 const unsigned int& daughter_id )
43 std::vector<double> daughter;
virtual MINT::counted_ptr< IDalitzEvent > newEvent()
IEvtGen(const std::string &inputFileName, const std::vector< int > &pattern, TRandom *rand, const double &unitConversion)
static bool setDefaultInputFile(const std::string &fname)
virtual const TLorentzVector & p(unsigned int i) const =0
void GenerateEvent(std::vector< std::vector< double >> &daughters, double &weight_gen)
const double m_unitConversion
DalitzEventPattern makeCPConjugate() const
std::vector< double > GetDaughter(const IDalitzEvent *const event, const unsigned int &daughter_id)