55 <<
"Did not find the right model:" << model_name.c_str() <<
"\n";
59 return model->
clone();
64 std::string modelName = prototype->
getName();
70 if ( commandName !=
"" ) {
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=nullptr)
virtual std::string getName() const =0
virtual void command(std::string cmd)
virtual EvtDecayBase * clone() const =0
virtual std::string commandName()
std::map< std::string, EvtDecayBase * > m_modelNameHash
static EvtModel * m_instance
EvtDecayBase * getFcn(std::string model_name)
void storeCommand(std::string cmd, std::string cnfgstr)
void registerModel(EvtDecayBase *prototype)
std::map< std::string, EvtDecayBase * > m_commandNameHash
int isModel(std::string name)
int isCommand(std::string cmd)