47 if(!(idp && idk && idpi ) ){std::cout<<
"EvtLambdac2pKpi: the daughter sequence should be p K pi"<<std::endl;abort();}
48 std::vector<EvtVector4R> vp4;
49 m_inputFileName=getenv(
"BESEVTGENROOT");
50 m_inputFileName +=
"/src/EvtGen/EvtGenModels/EvtLambdac2pKpi.dat";
52 m_inputFile.open(m_inputFileName.c_str());
54 cout <<
"EvtLambdac2pKpi: PROBLEMS OPENING FILE "
55 << m_inputFileName << endl;
61 for(
int h=0;h<Ntot;h++){
63 for (
int i = 0; i < nParticles; i++){
65 m_inputFile >> pxParticle;
p4.set(1,pxParticle);
66 m_inputFile >> pyParticle;
p4.set(2,pyParticle);
67 m_inputFile >> pzParticle;
p4.set(3,pzParticle);
68 m_inputFile >> eParticle;
p4.set(0,eParticle);
virtual void init(EvtId part_n, const EvtVector4R &p4)=0
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)