13 #include "EvtGenBase/EvtCPUtil.hh"
14 #include "EvtGenBase/EvtPDL.hh"
16 #include <generators/evtgen/EvtGenModelRegister.h>
17 #include "generators/evtgen/models/EvtPhspCP.h"
28 EvtPhspCP::~EvtPhspCP() {}
48 setProbMax(2 * (getArg(3)*getArg(3) + getArg(5)*getArg(5)));
53 static EvtId B0 = EvtPDL::getId(
"B0");
54 static EvtId B0B = EvtPDL::getId(
"anti-B0");
59 EvtCPUtil::getInstance()->OtherB(p, t, other_b, 0.5);
61 p->initializePhaseSpace(getNDaug(), getDaugs());
67 A = EvtComplex(getArg(3) * cos(getArg(4)), getArg(3) * sin(getArg(4)));
68 Abar = EvtComplex(getArg(5) * cos(getArg(6)), getArg(5) * sin(getArg(6)));
71 const double angle = getArg(0);
72 const double dm = getArg(1);
73 const double etaCP = getArg(2);
76 amp = A * cos(dm * t / (2 * EvtConst::c)) +
77 EvtComplex(cos(-2.0 * angle), sin(-2.0 * angle)) *
78 etaCP * EvtComplex(0.0, 1.0) * Abar * sin(dm * t / (2 * EvtConst::c));
82 amp = A * EvtComplex(cos(2.0 * angle), sin(2.0 * angle)) *
83 EvtComplex(0.0, 1.0) * sin(dm * t / (2 * EvtConst::c)) +
84 etaCP * Abar * cos(dm * t / (2 * EvtConst::c));
Register Decay model EvtPhspCP.
void init()
Initialize standard stream objects
EvtDecayBase * clone()
Clone the decay.
void initProbMax()
Initialize standard stream objects for probability function
std::string getName()
Get function Name
void decay(EvtParticle *p)
Member of particle in EvtGen.
B2_EVTGEN_REGISTER_MODEL(EvtB0toKsKK)
register the model in EvtGen
Abstract base class for different kinds of events.