64 double phase =
getArg( 1 );
114 if ( name1 !=
"PTO3P" )
117 <<
"D daughters of EvtBtoKD3P decay must decay via the \"PTO3P\" model" << endl
118 <<
" but found to decay via " << name1.c_str() <<
" or " << name2.c_str()
119 <<
". Will terminate execution!" << endl;
128 for ( d = 0; d < 2; ++d )
130 if ( daugs1[d] != daugs2[d] ) { idMatch =
false; }
132 if (
false == idMatch )
135 <<
"D daughters of EvtBtoKD3P decay must decay to the same final state" << endl
136 <<
" particles in the same order (not CP-conjugate order)," << endl
137 <<
" but they were found to decay to" << endl;
138 for ( d = 0; d < model1->
getNDaug(); ++d )
141 for ( d = 0; d < model1->
getNDaug(); ++d )
143 report(
ERROR,
"" ) << endl <<
". Will terminate execution!" << endl;
158 <<
"D daughters of EvtBtoKD3P decay should have only 1 decay modes, " << endl
159 <<
" but a new decay mode was found after the first call" << endl
160 <<
" Will terminate execution!" << endl;
186 double comp = sqrt( pc.
evaluate( x ) );
198 <<
"Momentum vector size " <<
v.size() << endl
199 <<
" Terminating execution." << endl;
205 for ( i = 0; i < theD->
getNDaug(); ++i )
ostream & report(Severity severity, const char *facility)
double sin(const BesAngle a)
double cos(const BesAngle a)
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
void getName(std::string &model_name)
virtual void initProbMax()
virtual void decay(EvtParticle *p)
const EvtDecayBase * _model2
const EvtDecayBase * _model1
void vertex(const EvtComplex &)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void setProbMax(double prbmx)
double getProbMax(double prob)
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
bool _daugsDecayedByParentModel
static EvtDecayBase * getDecayFunc(EvtParticle *)
EvtComplex amplNonCP(const T &x)
static std::string name(EvtId i)
virtual void init(EvtId part_n, const EvtVector4R &p4)=0
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
void addTerm(double c, const EvtPdf< T > &pdf)
double evaluate(const T &p) const
void getName(std::string &model_name)
virtual std::vector< EvtVector4R > initDaughters(const EvtDalitzPoint &p) const