|
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. 44 for ( i = 0; i < _nmode; i++ ) { 59 std::vector<std::string> args; 61 for ( j = 0; j < tModel-> getNArg(); j++ ) { 78 for ( i = 0; i < _nmode; i++ ) { 89 for ( i = 0; i < _nmode; i++ ) { 97 for ( i = 0; i < _nmode; i++ ) { 110 if ( imode >= 0 && imode < _nmode ) { 112 if ( theDecay != 0 ) { 149 for ( j = 0; j < 10000000; j++ ) { 154 for ( i = 0; i < getNMode(); i++ ) { 186 << "Tried 10000000 times to generate decay of " 189 << "Will take first kinematically allowed decay in the decay table" 195 double previousBrSum = 0.0; 196 for ( i = 0; i < getNMode(); i++ ) { 208 << " with mass:" << p-> mass() << " will throw event away! " << endl; 220 << "Error _nmode not equal to zero!!!" << endl; 232 if ( nchannel >= _nmode ) { 234 << "Error getting channel:" << nchannel << " with only " << _nmode 235 << " stored!" << endl; 249 for ( i = 0; i < _nmode; i++ ) { 261 for ( i = 0; i < _nmode; i++ ) { 274 for ( i = 0; i < _nmode; i++ ) { 290 << "Two matching decays with same parent in decay table\n"; 295 for ( int j = 0; j < newDec-> getNDaug(); j++ ) 320 << "Please give me a " 321 << "branching fraction sum greater than 0\n"; 326 << "Warning, sum of branching fractions for " 335 for ( i = 0; i < _nmode; i++ ) { 351 for ( i = 0; i < _nmode; i++ ) { 366 std::vector<std::string> args; 368 for ( j = 0; j < tModel-> getNArg(); j++ ) { 369 args.push_back( tModel-> getArgStr( j ) ); 393 for ( i = 0; i < _nmode; i++ ) { 401 << " Attempt to remove undefined mode for" << endl 404 for ( int j = 0; j < decay-> getNDaug(); j++ ) 418 double divisor = 1 - match_bf; 419 if ( divisor < 0.000001 && _nmode > 1 ) { 421 << "Removing requested mode leaves " 423 << " with zero sum branching fraction," << endl 424 << "but more than one decay mode remains. Aborting." << endl; 430 for ( i = 0; i < match; i++ ) { 432 newlist[i]-> setBrfrSum( newlist[i]->getBrfrSum() / divisor ); 434 for ( i = match + 1; i < _nmode; i++ ) { 437 ( newlist[i - 1]->getBrfrSum() - match_bf ) / divisor ); 456 for ( i = 0; i < getNMode(); i++ ) {
const char * c_str(Index i)
void addMode(EvtDecayBase *decay, double brfr, double massmin)
static std::string name(EvtId i)
void setDecayModel(EvtDecayBase *decay)
void removeMode(EvtDecayBase *decay)
std::string getArgStr(int j) const
void makeChargeConj(EvtParticleDecayList *conjDecayList)
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
EvtDecayBase * getDecayModel()
EvtId getParentId() const
void setBrfrSum(double brfrsum)
void saveDecayInfo(EvtId ipar, int ndaug, EvtId *daug, int narg, std::vector< std::string > &args, std::string name, double brfr)
double getBranchingFraction() const
EvtParticleDecayPtr * _decaylist
std::string getModelName() const
static void setRejectFlag()
EvtParticleDecayList & operator=(const EvtParticleDecayList &o)
void chargeConj(EvtParticleDecay *decay)
EvtDecayBase * getDecayModel(EvtParticle *p)
virtual EvtDecayBase * clone()=0
void setMassMin(double massmin)
virtual bool matchingDecay(const EvtDecayBase &other) const
EvtParticleDecay & getDecay(int nchannel) const
EvtId getDaug(int i) const
|