EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtDecayTable Class Reference

#include <EvtGenBase/EvtDecayTable.hh>

Public Member Functions

int getNMode (int ipar) const
EvtDecayBase * getDecay (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) const
void checkParticle (std::string particle) const
int findChannel (EvtId parent, std::string model, int ndaug, EvtId *daugs, int narg, std::string *args) const
int inChannelList (EvtId parent, int ndaug, EvtId *daugs) const
EvtDecayBase * getDecayFunc (EvtParticle *p)
void printSummary () const
void checkConj () const
std::vector< EvtParticleDecayList > getDecayTable () const
EvtDecayBase * findDecayModel (int aliasInt, int modeInt)
EvtDecayBase * findDecayModel (EvtId id, int modeInt)
bool hasPythia (int aliasInt) const
bool hasPythia (EvtId id) const
int getNModes (int aliasInt) const
int getNModes (EvtId id) const
std::vector< std::string > splitString (std::string &theString, std::string &splitter) const

Static Public Member Functions

static EvtDecayTable & getInstance ()

Protected Member Functions

 EvtDecayTable ()
 ~EvtDecayTable ()

Private Member Functions

 EvtDecayTable (const EvtDecayTable &)

Private Attributes

std::vector< EvtParticleDecayList > m_decaytable

Detailed Description

Definition at line 35 of file EvtDecayTable.hh.

Constructor & Destructor Documentation

◆ EvtDecayTable() [1/2]

EvtDecayTable::EvtDecayTable ( )
protected

Definition at line 48 of file EvtDecayTable.cpp.

◆ ~EvtDecayTable()

EvtDecayTable::~EvtDecayTable ( )
protected

Definition at line 53 of file EvtDecayTable.cpp.

◆ EvtDecayTable() [2/2]

EvtDecayTable::EvtDecayTable ( const EvtDecayTable & )
inlineprivate

Definition at line 84 of file EvtDecayTable.hh.

Member Function Documentation

◆ checkConj()

void EvtDecayTable::checkConj ( ) const

◆ checkParticle()

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

Definition at line 1481 of file EvtDecayTable.cpp.

◆ findChannel()

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

Definition at line 1545 of file EvtDecayTable.cpp.

◆ findDecayModel() [1/2]

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

Definition at line 1492 of file EvtDecayTable.cpp.

◆ findDecayModel() [2/2]

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

Definition at line 1501 of file EvtDecayTable.cpp.

◆ getDecay()

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

Definition at line 70 of file EvtDecayTable.cpp.

◆ getDecayFunc()

EvtDecayBase * EvtDecayTable::getDecayFunc ( EvtParticle * p)

Definition at line 82 of file EvtDecayTable.cpp.

◆ getDecayTable()

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

Definition at line 60 of file EvtDecayTable.hh.

◆ getInstance()

EvtDecayTable & EvtDecayTable::getInstance ( )
static

Definition at line 58 of file EvtDecayTable.cpp.

◆ getNMode()

int EvtDecayTable::getNMode ( int ipar) const

Definition at line 65 of file EvtDecayTable.cpp.

◆ getNModes() [1/2]

int EvtDecayTable::getNModes ( EvtId id) const

Definition at line 1528 of file EvtDecayTable.cpp.

◆ getNModes() [2/2]

int EvtDecayTable::getNModes ( int aliasInt) const

Definition at line 1534 of file EvtDecayTable.cpp.

◆ hasPythia() [1/2]

bool EvtDecayTable::hasPythia ( EvtId id) const

Definition at line 1512 of file EvtDecayTable.cpp.

◆ hasPythia() [2/2]

bool EvtDecayTable::hasPythia ( int aliasInt) const

Definition at line 1518 of file EvtDecayTable.cpp.

◆ inChannelList()

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

Definition at line 1611 of file EvtDecayTable.cpp.

◆ printSummary()

void EvtDecayTable::printSummary ( ) const

Definition at line 75 of file EvtDecayTable.cpp.

◆ readDecayFile()

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

Definition at line 93 of file EvtDecayTable.cpp.

◆ readXMLDecayFile()

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

Definition at line 931 of file EvtDecayTable.cpp.

◆ splitString()

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

Definition at line 1661 of file EvtDecayTable.cpp.

◆ stringToBoolean()

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

Definition at line 1475 of file EvtDecayTable.cpp.

Member Data Documentation

◆ m_decaytable

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

Definition at line 82 of file EvtDecayTable.hh.


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