|
EvtGen
2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
|
Go to the documentation of this file. 36 if ( ( nArg ) > 3 || ( nArg > 1 && nArg < 3 ) ) { 38 << "EvtBtoXsgamma generator model " 39 << "EvtBtoXsgammaFlatEnergy expected " 40 << "either 1(default config) or two arguments but found: " << nArg 43 << "Will terminate execution!" << endl; 53 _eMax = ( pow( _mB0, 2 ) - pow( mPi + mK, 2 ) ) / ( 2.0 * _mB0 ); 58 if ( _eMax > ( pow( _mB0, 2 ) - pow( mPi + mK, 2 ) ) / ( 2.0 * _mB0 ) ) { 60 << "Emax greater than Kinematic limit" << endl; 62 << "Reset to the kinematic limit" << endl; 64 << "(m_B**2-(m_pi+m_k)**2)/(2m_B)" << endl; 65 _eMax = ( pow( _mB0, 2 ) - pow( mPi + mK, 2 ) ) / ( 2.0 * _mB0 ); 73 double mH = sqrt( pow( _mB0, 2 ) - 2.0 * _mB0 * eGamma );
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
void init(int, double *) override
double GetMass(int code) override
|