|
EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
|
#include <EvtGenBase/EvtModel.hh>
Public Member Functions | |
| void | registerModel (EvtDecayBase *prototype) |
| int | isModel (std::string name) |
| EvtDecayBase * | getFcn (std::string model_name) |
| int | isCommand (std::string cmd) |
| void | storeCommand (std::string cmd, std::string cnfgstr) |
Static Public Member Functions | |
| static EvtModel & | instance () |
Private Member Functions | |
| EvtModel () | |
Private Attributes | |
| std::map< std::string, EvtDecayBase * > | m_modelNameHash |
| std::map< std::string, EvtDecayBase * > | m_commandNameHash |
Static Private Attributes | |
| static EvtModel * | m_instance = nullptr |
Definition at line 33 of file EvtModel.hh.
|
private |
Definition at line 42 of file EvtModel.cpp.
| EvtDecayBase * EvtModel::getFcn | ( | std::string | model_name | ) |
Definition at line 46 of file EvtModel.cpp.
|
inlinestatic |
Definition at line 55 of file EvtModel.hh.
| int EvtModel::isCommand | ( | std::string | cmd | ) |
Definition at line 83 of file EvtModel.cpp.
| int EvtModel::isModel | ( | std::string | name | ) |
Definition at line 75 of file EvtModel.cpp.
| void EvtModel::registerModel | ( | EvtDecayBase * | prototype | ) |
Definition at line 62 of file EvtModel.cpp.
| void EvtModel::storeCommand | ( | std::string | cmd, |
| std::string | cnfgstr ) |
Definition at line 91 of file EvtModel.cpp.
|
private |
Definition at line 52 of file EvtModel.hh.
|
thread_localstaticprivate |
Definition at line 49 of file EvtModel.hh.
|
private |
Definition at line 51 of file EvtModel.hh.