124 if (name1 !=
"PTO3P") {
126 <<
"D daughters of EvtBtoKD3P decay must decay via the \"PTO3P\" model"
128 <<
" but found to decay via " << name1.c_str()
129 <<
" or " << name2.c_str()
130 <<
". Will terminate execution!" << endl;
139 for (d = 0; d < 2; ++d) {
140 if (daugs1[d] != daugs2[d]) {
144 if (
false == idMatch) {
146 <<
"D daughters of EvtBtoKD3P decay must decay to the same final state"
148 <<
" particles in the same order (not CP-conjugate order)," << endl
149 <<
" but they were found to decay to" << endl;
150 for (d = 0; d < model1->
getNDaug(); ++d) {
154 for (d = 0; d < model1->
getNDaug(); ++d) {
157 report(
ERROR,
"") << endl <<
". Will terminate execution!" << endl;
172 <<
"D daughters of EvtBtoKD3P decay should have only 1 decay modes, "
174 <<
" but a new decay mode was found after the first call" << endl
175 <<
" Will terminate execution!" << endl;
212 <<
"Number of daughters " << theD->
getNDaug()
213 <<
" != " <<
"Momentum vector size " <<
v.size()
215 <<
" Terminating execution." << endl;
double sin(const BesAngle a)
double cos(const BesAngle a)
ostream & report(Severity severity, const char *facility)
**********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