70 report(
ERROR,
"EvtGen" ) <<
"EvtSSDCP generator expected "
71 <<
"one of the daugters to be a scalar, the other either "
72 "scalar, vector, or tensor, found:"
75 report(
ERROR,
"EvtGen" ) <<
"Will terminate execution!" << endl;
84 _poverq = 1.0 / _qoverp;
105 { _eigenstate =
true; }
109 _A_fbar =
conj( _Abar_f );
110 _Abar_fbar =
conj( _A_f );
130 _dgamma = _gamma * _dgog;
134 report(
INFO,
"EvtGen" ) <<
"SSD_CP will generate CP/CPT violation:" << endl
140 <<
"using parameters:" << endl
142 <<
" delta(m) = " << _dm <<
" hbar/ps" << endl
143 <<
"dGamma = " << _dgamma <<
" ps-1" << endl
144 <<
" q/p = " << _qoverp << endl
145 <<
" z = " << _z << endl
146 <<
" tau = " << 1. / _gamma <<
" ps" << endl;
151 double theProbMax =
abs( _A_f ) *
abs( _A_f ) +
abs( _Abar_f ) *
abs( _Abar_f ) +
152 abs( _A_fbar ) *
abs( _A_fbar ) +
abs( _Abar_fbar ) *
abs( _Abar_fbar );
154 if ( _eigenstate ) theProbMax *= 2;
220 if ( other_b == B0B )
224 amp = BB * _A_f + BbarB * _Abar_f;
231 amp = barBB * _A_f + barBbarB * _Abar_f;
238 amp = barBB * _A_fbar + barBbarB * _Abar_fbar;
242 if ( other_b == B0B ) { amp = BB * _A_fbar + BbarB * _Abar_fbar; }
246 double m_parent = p4_parent.
mass();
Evt3Rank3C conj(const Evt3Rank3C &t2)
EvtComplex exp(const EvtComplex &c)
double arg(const EvtComplex &c)
ostream & report(Severity severity, const char *facility)
double sin(const BesAngle a)
double cos(const BesAngle a)
static void OtherB(EvtParticle *p, double &t, EvtId &otherb)
void vertex(const EvtComplex &)
void setProbMax(double prbmx)
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
static std::string name(EvtId i)
static EvtId chargeConj(EvtId id)
static EvtSpinType::spintype getSpinType(EvtId i)
static EvtId getId(const std::string &name)
static double getctau(EvtId i)
virtual EvtVector4C epsParent(int i) const
virtual EvtTensor4C epsTensorParent(int i) const
EvtVector4R getP4Restframe()
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
static double Flat(double min, double max)
void getName(std::string &name)
void decay(EvtParticle *p)
EvtVector4C cont1(const EvtVector4C &v4) const