Initializes module.
98{
99
100 checkNDaug(3);
101
102
103
104 checkSpinParent(EvtSpinType::SCALAR);
105
106 checkSpinDaughter(1, EvtSpinType::DIRAC);
107 checkSpinDaughter(2, EvtSpinType::NEUTRINO);
108
109 EvtSpinType::spintype d1type = EvtPDL::getSpinType(getDaug(0));
110 if (d1type == EvtSpinType::SCALAR) {
111 if (getNArg() == 8) {
112 m_bgl2ffmodel =
new EvtBGL2FF(getArg(0), getArg(1), getArg(2), getArg(3), getArg(4), getArg(5), getArg(6), getArg(7));
113 m_calcamp =
new EvtSemiLeptonicScalarAmp;
114 } else {
115 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "BGL2 (N=3) model for scalar meson daughters needs 8 arguments. Sorry." << std::endl;
116
117 ::abort();
118 }
119 } else {
120 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "BGL2 model handles only scalar meson daughters. Use the EvtBGL class for vector mesons." <<
121 std::endl;
122 ::abort();
123 }
124
125}
The class provides the form factors for semileptonic D and D* decays with full mass dependence.