46 <<
" ERROR: EvtHypNonLepton generator expected 2 or 3 arguments but found: "
49 <<
" 1. Decay asymmetry parameter - alpha" << std::endl;
51 <<
" 2. Parameter phi - in degrees (not radians)" << std::endl;
53 <<
" 3. Note on every x-th decay" << std::endl;
59 <<
" ERROR: EvtHypNonLepton generator expected 2 daughters but found: "
67 <<
" ERROR: EvtHypNonLepton generator expected dirac parent particle, but found "
69 <<
" spin degrees of freedom" << std::endl;
74 <<
" ERROR: EvtHypNonLepton generator expected the first child to be dirac particle, but found "
76 <<
" spin degrees of freedom" << std::endl;
81 <<
" ERROR: EvtHypNonLepton generator expected the second child to be scalar particle, but found "
83 <<
" spin degrees of freedom" << std::endl;
97 double p_to_s, beta, delta, gamma;
103 if ( m1 + m2 >= M ) {
105 <<
" ERROR: EvtHypNonLepton found impossible decay: " << M
106 <<
" --> " << m1 <<
" + " << m2 <<
" GeV\n"
111 p = sqrt( M * M - ( m1 + m2 ) * ( m1 + m2 ) ) *
112 sqrt( M * M - ( m1 - m2 ) * ( m1 - m2 ) ) / 2. / M;
115 delta = -atan2( beta,
m_alpha );
117 p_to_s = sqrt( ( 1. - gamma ) / ( 1. + gamma ) );
119 m_B_to_A = p_to_s * ( m1 + sqrt( p * p + m1 * m1 ) ) / p *
double initializePhaseSpace(size_t numdaughter, const EvtId *daughters, bool forceResetMasses=false, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
virtual EvtDiracSpinor spParent(int) const
EvtParticle * getDaug(const int i)
virtual EvtDiracSpinor sp(int) const