evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtDecayTable.hh>

Public Member Functions

int getNMode (int ipar)
 
EvtDecayBasegetDecay (int ipar, int imode)
 
void readDecayFile (const std::string dec_name, bool verbose=true)
 
void readXMLDecayFile (const std::string dec_name, bool verbose=true)
 
bool stringToBoolean (std::string valStr)
 
void checkParticle (std::string particle)
 
int findChannel (EvtId parent, std::string model, int ndaug, EvtId *daugs, int narg, std::string *args)
 
int inChannelList (EvtId parent, int ndaug, EvtId *daugs)
 
EvtDecayBasegetDecayFunc (EvtParticle *p)
 
void printSummary ()
 
void checkConj ()
 
std::vector< EvtParticleDecayListgetDecayTable ()
 
EvtDecayBasefindDecayModel (int aliasInt, int modeInt)
 
EvtDecayBasefindDecayModel (EvtId id, int modeInt)
 
bool hasPythia (int aliasInt)
 
bool hasPythia (EvtId id)
 
int getNModes (int aliasInt)
 
int getNModes (EvtId id)
 
std::vector< std::string > splitString (std::string &theString, std::string &splitter)
 

Static Public Member Functions

static EvtDecayTablegetInstance ()
 

Protected Member Functions

 EvtDecayTable ()
 
 ~EvtDecayTable ()
 

Private Member Functions

 EvtDecayTable (const EvtDecayTable &)
 

Private Attributes

std::vector< EvtParticleDecayList_decaytable
 

Detailed Description

Definition at line 35 of file EvtDecayTable.hh.

Constructor & Destructor Documentation

◆ EvtDecayTable() [1/2]

EvtDecayTable::EvtDecayTable ( )
protected

Definition at line 49 of file EvtDecayTable.cpp.

◆ ~EvtDecayTable()

EvtDecayTable::~EvtDecayTable ( )
protected

Definition at line 54 of file EvtDecayTable.cpp.

◆ EvtDecayTable() [2/2]

EvtDecayTable::EvtDecayTable ( const EvtDecayTable )
inlineprivate

Definition at line 81 of file EvtDecayTable.hh.

Member Function Documentation

◆ checkConj()

void EvtDecayTable::checkConj ( )

◆ checkParticle()

void EvtDecayTable::checkParticle ( std::string  particle)

Definition at line 1426 of file EvtDecayTable.cpp.

◆ findChannel()

int EvtDecayTable::findChannel ( EvtId  parent,
std::string  model,
int  ndaug,
EvtId daugs,
int  narg,
std::string *  args 
)

Definition at line 1490 of file EvtDecayTable.cpp.

◆ findDecayModel() [1/2]

EvtDecayBase * EvtDecayTable::findDecayModel ( int  aliasInt,
int  modeInt 
)

Definition at line 1446 of file EvtDecayTable.cpp.

◆ findDecayModel() [2/2]

EvtDecayBase * EvtDecayTable::findDecayModel ( EvtId  id,
int  modeInt 
)

Definition at line 1437 of file EvtDecayTable.cpp.

◆ getDecay()

EvtDecayBase * EvtDecayTable::getDecay ( int  ipar,
int  imode 
)

Definition at line 75 of file EvtDecayTable.cpp.

◆ getDecayFunc()

EvtDecayBase * EvtDecayTable::getDecayFunc ( EvtParticle p)

Definition at line 87 of file EvtDecayTable.cpp.

◆ getDecayTable()

std::vector<EvtParticleDecayList> EvtDecayTable::getDecayTable ( )
inline

Definition at line 60 of file EvtDecayTable.hh.

◆ getInstance()

EvtDecayTable * EvtDecayTable::getInstance ( )
static

Definition at line 59 of file EvtDecayTable.cpp.

◆ getNMode()

int EvtDecayTable::getNMode ( int  ipar)

Definition at line 70 of file EvtDecayTable.cpp.

◆ getNModes() [1/2]

int EvtDecayTable::getNModes ( int  aliasInt)

Definition at line 1479 of file EvtDecayTable.cpp.

◆ getNModes() [2/2]

int EvtDecayTable::getNModes ( EvtId  id)

Definition at line 1473 of file EvtDecayTable.cpp.

◆ hasPythia() [1/2]

bool EvtDecayTable::hasPythia ( int  aliasInt)

Definition at line 1463 of file EvtDecayTable.cpp.

◆ hasPythia() [2/2]

bool EvtDecayTable::hasPythia ( EvtId  id)

Definition at line 1457 of file EvtDecayTable.cpp.

◆ inChannelList()

int EvtDecayTable::inChannelList ( EvtId  parent,
int  ndaug,
EvtId daugs 
)

Definition at line 1556 of file EvtDecayTable.cpp.

◆ printSummary()

void EvtDecayTable::printSummary ( )

Definition at line 80 of file EvtDecayTable.cpp.

◆ readDecayFile()

void EvtDecayTable::readDecayFile ( const std::string  dec_name,
bool  verbose = true 
)

Definition at line 98 of file EvtDecayTable.cpp.

◆ readXMLDecayFile()

void EvtDecayTable::readXMLDecayFile ( const std::string  dec_name,
bool  verbose = true 
)

Definition at line 893 of file EvtDecayTable.cpp.

◆ splitString()

std::vector< std::string > EvtDecayTable::splitString ( std::string &  theString,
std::string &  splitter 
)

Definition at line 1606 of file EvtDecayTable.cpp.

◆ stringToBoolean()

bool EvtDecayTable::stringToBoolean ( std::string  valStr)

Definition at line 1420 of file EvtDecayTable.cpp.

Member Data Documentation

◆ _decaytable

std::vector<EvtParticleDecayList> EvtDecayTable::_decaytable
private

Definition at line 79 of file EvtDecayTable.hh.


The documentation for this class was generated from the following files: