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
EvtModel Class Reference

#include <EvtGenBase/EvtModel.hh>

Public Member Functions

void registerModel (EvtDecayBase *prototype)
int isModel (std::string name)
EvtDecayBasegetFcn (std::string model_name)
int isCommand (std::string cmd)
void storeCommand (std::string cmd, std::string cnfgstr)

Static Public Member Functions

static EvtModelinstance ()

Private Member Functions

 EvtModel ()

Private Attributes

std::map< std::string, EvtDecayBase * > m_modelNameHash
std::map< std::string, EvtDecayBase * > m_commandNameHash

Static Private Attributes

static EvtModelm_instance = nullptr

Detailed Description

Definition at line 33 of file EvtModel.hh.

Constructor & Destructor Documentation

◆ EvtModel()

EvtModel::EvtModel ( )
private

Definition at line 42 of file EvtModel.cpp.

Member Function Documentation

◆ getFcn()

EvtDecayBase * EvtModel::getFcn ( std::string model_name)

Definition at line 46 of file EvtModel.cpp.

◆ instance()

EvtModel & EvtModel::instance ( )
inlinestatic

Definition at line 55 of file EvtModel.hh.

◆ isCommand()

int EvtModel::isCommand ( std::string cmd)

Definition at line 83 of file EvtModel.cpp.

◆ isModel()

int EvtModel::isModel ( std::string name)

Definition at line 75 of file EvtModel.cpp.

◆ registerModel()

void EvtModel::registerModel ( EvtDecayBase * prototype)

Definition at line 62 of file EvtModel.cpp.

◆ storeCommand()

void EvtModel::storeCommand ( std::string cmd,
std::string cnfgstr )

Definition at line 91 of file EvtModel.cpp.

Member Data Documentation

◆ m_commandNameHash

std::map<std::string, EvtDecayBase*> EvtModel::m_commandNameHash
private

Definition at line 52 of file EvtModel.hh.

◆ m_instance

EvtModel * EvtModel::m_instance = nullptr
thread_localstaticprivate

Definition at line 49 of file EvtModel.hh.

◆ m_modelNameHash

std::map<std::string, EvtDecayBase*> EvtModel::m_modelNameHash
private

Definition at line 51 of file EvtModel.hh.


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