87 <<
"Evtbs2llGammaMNT generator expected "
88 <<
" a PHOTON 1st daughter, found:"
91 <<
"Will terminate execution!" << std::endl;
106 <<
"The init()-function in the Evtbs2llGammaMNT generator:"
107 <<
"The absence in the radiative decay!" << std::endl;
116 double mymaxprob = -10.0;
118 EvtId parnum, photnum, l1num, l2num;
126 int Nf = (int)
getArg( 1 );
127 int res_swch = (int)
getArg( 2 );
128 int ias = (int)
getArg( 3 );
129 double Egamma_max =
getArg( 4 );
130 double CKM_A =
getArg( 5 );
131 double CKM_lambda =
getArg( 6 );
132 double CKM_barrho =
getArg( 7 );
133 double CKM_bareta =
getArg( 8 );
137 res_swch, ias, Egamma_max, CKM_A,
138 CKM_lambda, CKM_barrho, CKM_bareta );
140 if ( mymaxprob <= 0.0 ) {
142 <<
"The function void Evtbs2llGammaMNT::initProbMax()"
143 <<
"\n Unexpected value of the probability maximum!"
144 <<
"\n mymaxprob = " << mymaxprob << std::endl;
154 int Nf = (int)
getArg( 1 );
155 int res_swch = (int)
getArg( 2 );
156 int ias = (int)
getArg( 3 );
157 double Egamma_max =
getArg( 4 );
158 double CKM_A =
getArg( 5 );
159 double CKM_lambda =
getArg( 6 );
160 double CKM_barrho =
getArg( 7 );
161 double CKM_bareta =
getArg( 8 );
168 ias, Egamma_max, CKM_A, CKM_lambda, CKM_barrho,
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=nullptr)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
double getArg(unsigned int j)
void setProbMax(double prbmx)
EvtId getParentId() const
EvtId getDaug(int i) const
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
const EvtId * getDaugs() const
static EvtSpinType::spintype getSpinType(EvtId i)
static std::string name(EvtId i)
double initializePhaseSpace(size_t numdaughter, const EvtId *daughters, bool forceResetMasses=false, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
double CalcMaxProb(EvtId parnum, EvtId photnum, EvtId l1num, EvtId l2num, Evtbs2llGammaFF *formFactors, EvtbTosllWilsCoeffNLO *WilsCoeff, double mu, int Nf, int res_swch, int ias, double Egamma_min, double CKM_A, double CKM_lambda, double CKM_barrho, double CKM_bareta)
void CalcAmp(EvtParticle *parent, EvtAmp &, Evtbs2llGammaFF *formFactors, EvtbTosllWilsCoeffNLO *WilsCoeff, double mu, int Nf, int res_swch, int ias, double Egamma_min, double CKM_A, double CKM_lambda, double CKM_barrho, double CKM_bareta)
Evtbs2llGammaAmp * m_calcamp
void decay(EvtParticle *p) override
Evtbs2llGammaFF * m_mntffmodel
void initProbMax() override
virtual ~Evtbs2llGammaMNT()
EvtbTosllWilsCoeffNLO * m_wilscoeff
std::string getName() const override
EvtDecayBase * clone() const override