Initializes module.
100{
101
102 checkNDaug(3);
103
104
105
106 checkSpinParent(EvtSpinType::SCALAR);
107
108 checkSpinDaughter(1, EvtSpinType::DIRAC);
109 checkSpinDaughter(2, EvtSpinType::NEUTRINO);
110
111 EvtSpinType::spintype d1type = EvtPDL::getSpinType(getDaug(0));
112 if (d1type == EvtSpinType::SCALAR) {
113 if (getNArg() == 8) {
114 bglffmodel =
new EvtBGLFF(getArg(0), getArg(1), getArg(2), getArg(3), getArg(4), getArg(5), getArg(6), getArg(7));
115 calcamp =
new EvtSemiLeptonicScalarAmp;
116 } else {
117 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "BGL (N=3) model for scalar meson daughters needs 8 arguments. Sorry." << endl;
118
119 ::abort();
120 }
121 } else if (d1type == EvtSpinType::VECTOR) {
122 if (getNArg() == 6) {
123 bglffmodel =
new EvtBGLFF(getArg(0), getArg(1), getArg(2), getArg(3), getArg(4), getArg(5));
124 calcamp =
new EvtSemiLeptonicVectorAmp;
125 } else {
126 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "BGL model for vector meson daughters needs 6 arguments. Sorry." << endl;
127 ::abort();
128 }
129 } else {
130 EvtGenReport(EVTGEN_ERROR, "EvtGen") << "BGL model handles only scalar and vector meson daughters. Sorry." << endl;
131 ::abort();
132 }
133
134
135}
The class provides the form factors for semileptonic D and D* decays with full mass dependence.