11 #include "EvtGenBase/EvtParticle.hh"
12 #include "EvtGenBase/EvtPDL.hh"
13 #include "EvtGenBase/EvtSemiLeptonicVectorAmp.hh"
14 #include "EvtGenBase/EvtSemiLeptonicScalarAmp.hh"
17 #include "generators/evtgen/EvtGenModelRegister.h"
18 #include "generators/evtgen/models/EvtBCL.h"
19 #include "generators/evtgen/models/EvtBCLFF.h"
53 p->initializePhaseSpace(getNDaug(), getDaugs());
61 EvtId parnum, mesnum, lnum, nunum;
63 parnum = getParentId();
68 double mymaxprob =
calcamp->CalcMaxProb(parnum, mesnum, lnum, nunum,
bclmodel);
70 setProbMax(mymaxprob);
82 checkSpinParent(EvtSpinType::SCALAR);
83 checkSpinDaughter(1, EvtSpinType::DIRAC);
84 checkSpinDaughter(2, EvtSpinType::NEUTRINO);
86 EvtSpinType::spintype mesontype = EvtPDL::getSpinType(getDaug(0));
90 if (mesontype == EvtSpinType::SCALAR) {
91 calcamp =
new EvtSemiLeptonicScalarAmp;
93 if (mesontype == EvtSpinType::VECTOR) {
94 calcamp =
new EvtSemiLeptonicVectorAmp;