42 <<
" ERROR: EvtHypNonLepton generator expected 2 or 3 arguments but found: "
44 report(
INFO,
"EvtGen" ) <<
" 1. Decay asymmetry parameter - alpha" << std::endl;
45 report(
INFO,
"EvtGen" ) <<
" 2. Parameter phi - in degrees (not radians)" << std::endl;
46 report(
INFO,
"EvtGen" ) <<
" 3. Note on every x-th decay" << std::endl;
53 <<
" ERROR: EvtHypNonLepton generator expected 2 daughters but found: " <<
getNDaug()
62 <<
" ERROR: EvtHypNonLepton generator expected dirac parent particle, but found "
64 <<
" spin degrees of freedom" << std::endl;
69 report(
ERROR,
"EvtGen" ) <<
" ERROR: EvtHypNonLepton generator expected the first child "
70 "to be dirac particle, but found "
72 <<
" spin degrees of freedom" << std::endl;
77 report(
ERROR,
"EvtGen" ) <<
" ERROR: EvtHypNonLepton generator expected the second child "
78 "to be scalar particle, but found "
80 <<
" spin degrees of freedom" << std::endl;
87 if (
getNArg() == 3 ) m_noTries =
static_cast<long>(
getArg( 2 ) );
92 double p_to_s, beta, delta, gamma;
100 report(
ERROR,
"EvtGen" ) <<
" ERROR: EvtHypNonLepton found impossible decay: " << M
101 <<
" --> " <<
m1 <<
" + " <<
m2 <<
" GeV\n"
106 p = sqrt( M * M - (
m1 +
m2 ) * (
m1 +
m2 ) ) * sqrt( M * M - (
m1 -
m2 ) * (
m1 -
m2 ) ) /
109 beta = sqrt( 1. - m_alpha * m_alpha ) *
sin( m_phi );
110 delta = -atan2( beta, m_alpha );
111 gamma = sqrt( 1. - m_alpha * m_alpha - beta * beta );
112 p_to_s = sqrt( ( 1. - gamma ) / ( 1. + gamma ) );
virtual EvtDiracSpinor spParent(int) const
EvtParticle * getDaug(int i)
virtual EvtDiracSpinor sp(int) const
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)