|
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. 54 static EvtIdSet regenerateMasses( "K_2*+", "K_2*-", "K_2*0", "anti-K_2*0", 55 "K_1+", "K_1-", "K_10", "anti-K_10", 56 "D'_1+", "D'_1-", "D'_10", "anti-D'_10" ); 58 if ( regenerateMasses. contains( getDaug( 0 ) ) ) { 69 calcamp->CalcAmp( p, _amp2, baryonpcrffmodel.get(), r00, r01, r10, r11 ); 91 EvtId parnum, barnum, lnum; 93 parnum = getParentId(); 94 barnum = getDaug( 0 ); 97 if ( parnum == LAMB || parnum == LAMBB ) { 98 if ( barnum == LAMCP || barnum == LAMCM || barnum == LAMC1P || 99 barnum == LAMC1M || barnum == LAMC2P || barnum == LAMC2M || 100 barnum == SIGC0 || barnum == SIGC0B || barnum == SIGCP || 101 barnum == SIGCM || barnum == SIGCPP || barnum == SIGCMM ) { 102 setProbMax( 22000.0 ); 114 if ( getNArg() != 4 ) { 116 << "EvtBaryonPCR generator expected " 117 << " 4 arguments but found:" << getNArg() << endl; 120 << "Will terminate execution!" << endl; 124 if ( getNDaug() != 3 ) { 126 << "Wrong number of daughters in EvtBaryonPCR.cc " 127 << " 3 daughters expected but found: " << getNDaug() << endl; 129 << "Will terminate execution!" << endl; 143 << "EvtBaryonPCR generator expected " 144 << " a DIRAC parent, found:" << EvtPDL::name( getParentId() ) 147 << "Will terminate execution!" << endl; 152 << "EvtBaryonPCR generator expected " 153 << " a DIRAC 2nd daughter, found:" << EvtPDL::name( getDaug( 1 ) ) 156 << "Will terminate execution!" << endl; 161 << "EvtBaryonPCR generator expected " 162 << " a NEUTRINO 3rd daughter, found:" << EvtPDL::name( getDaug( 2 ) ) 165 << "Will terminate execution!" << endl; 169 baryonpcrffmodel = std::make_unique<EvtBaryonPCRFF>(); 173 calcamp = std::make_unique<EvtSemiLeptonicBaryonAmp>(); 176 << "Wrong baryon spin type in EvtBaryonPCR.cc " 178 << ", found spin type " << baryontype << endl; 180 << "Will terminate execution!" << endl;
static std::string name(EvtId i)
std::string getName() override
static EvtSpinType::spintype getSpinType(EvtId i)
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
EvtBaryonPCR * clone() override
double initializePhaseSpace(unsigned int numdaughter, EvtId *daughters, bool forceResetMasses=false, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
static EvtId getId(const std::string &name)
void initProbMax() override
void decay(EvtParticle *p) override
int contains(const EvtId id)
|