71 int Initial_state( -1 );
74 if ( p->
getId() == BS0 ) {
80 if ( p->
getId() == BS0 ) {
89 static const double gammaH = 1.0 / ctauH;
105 double mt =
exp( -std::max( 0.0, deltaGamma ) * t / ( 2.0 *
EvtConst::c ) );
106 double pt =
exp( +std::min( 0.0, deltaGamma ) * t / ( 2.0 *
EvtConst::c ) );
110 sin( -2.0 *
getArg( 4 ) ) );
133 if ( Initial_state == 0 ) {
135 hp = arg_hp * gplus + qp *
conj( arg_hm ) * gminus;
136 hm = arg_hm * gplus + qp *
conj( arg_hp ) * gminus;
138 }
else if ( Initial_state == 1 ) {
140 hp =
conj( arg_hm ) * gplus + ( 1.0 / qp ) * arg_hp * gminus;
141 hm =
conj( arg_hp ) * gplus + ( 1.0 / qp ) * arg_hm * gminus;
145 <<
"Initial state was not BSB or BS0!" << std::endl;
EvtComplex conj(const EvtComplex &c)
EvtComplex exp(const EvtComplex &c)
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=nullptr)
static EvtCPUtil * getInstance()
double getDeltaM(const EvtId id)
double getDeltaGamma(const EvtId id)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
double getArg(unsigned int j)
void setProbMax(double prbmx)
EvtId getDaug(int i) const
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
static double getctau(EvtId i)
static EvtId getId(const std::string &name)
void setLifetime(double tau)
EvtParticle * getParent() const
static void SVPHel(EvtParticle *parent, EvtAmp &, EvtId n_v1, EvtId n_ph, const EvtComplex &hp, const EvtComplex &hm)
void decay(EvtParticle *p) override
EvtDecayBase * clone() const override
void initProbMax() override
std::string getName() const override