30#include "EvtGenBase/EvtPatches.hh"
32#include "EvtGenBase/EvtParticle.hh"
33#include "EvtGenBase/EvtGenKine.hh"
34#include "EvtGenBase/EvtCPUtil.hh"
35#include "EvtGenBase/EvtPDL.hh"
36#include "EvtGenBase/EvtReport.hh"
37#include "EvtGenModels/EvtBToKpipiCP.hh"
38#include "EvtGenBase/EvtId.hh"
42 extern void evtkpipi_(
double *,
double *,
int *,
double *,
43 double *,
double *,
double *,
double *,
44 double *,
double *,
double *);
52 model_name=
"BTOKPIPI_CP";
113 double p4Kplus[4],p4piminus[4],p4gamm1[4],p4gamm2[4];
115 double realA,imgA,realbarA,imgbarA;
118 &realA,&imgA,&realbarA,&imgbarA);
120 p4[0].
set(p4Kplus[3],p4Kplus[0],p4Kplus[1],p4Kplus[2]);
121 p4[1].
set(p4piminus[3],p4piminus[0],p4piminus[1],p4piminus[2]);
122 p4[2].
set(p4gamm1[3]+p4gamm2[3],p4gamm1[0]+p4gamm2[0],
123 p4gamm1[1]+p4gamm2[1],p4gamm1[2]+p4gamm2[2]);
void evtkpipi_(double *, double *, int *, double *, double *, double *, double *, double *, double *, double *, double *)
void decay(EvtParticle *p)
void getName(std::string &name)
static void OtherB(EvtParticle *p, double &t, EvtId &otherb)
void vertex(const EvtComplex &)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
static EvtId getId(const std::string &name)
void makeDaughters(int ndaug, EvtId *id)
virtual void init(EvtId part_n, const EvtVector4R &p4)=0
EvtParticle * getDaug(int i)
void set(int i, double d)