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/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 * > _modelNameHash
 
std::map< std::string, EvtDecayBase * > _commandNameHash
 

Static Private Attributes

static EvtModel_instance = 0
 

Detailed Description

Definition at line 34 of file EvtModel.hh.

Constructor & Destructor Documentation

◆ EvtModel()

EvtModel::EvtModel ( )
private

Definition at line 43 of file EvtModel.cpp.

Member Function Documentation

◆ getFcn()

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

Definition at line 47 of file EvtModel.cpp.

◆ instance()

EvtModel & EvtModel::instance ( )
inlinestatic

Definition at line 56 of file EvtModel.hh.

◆ isCommand()

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

Definition at line 84 of file EvtModel.cpp.

◆ isModel()

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

Definition at line 76 of file EvtModel.cpp.

◆ registerModel()

void EvtModel::registerModel ( EvtDecayBase prototype)

Definition at line 63 of file EvtModel.cpp.

◆ storeCommand()

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

Definition at line 92 of file EvtModel.cpp.

Member Data Documentation

◆ _commandNameHash

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

Definition at line 53 of file EvtModel.hh.

◆ _instance

EvtModel * EvtModel::_instance = 0
staticprivate

Definition at line 50 of file EvtModel.hh.

◆ _modelNameHash

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

Definition at line 52 of file EvtModel.hh.


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