Class Reference for E1039 Core & Analysis Software
|
Public Member Functions | |
PHParameterContainerInterface (const std::string &name) | |
virtual | ~PHParameterContainerInterface () |
void | set_name (const std::string &name) |
virtual void | SetDefaultParameters ()=0 |
void | set_double_param (const int id, const std::string &name, const double dval) |
double | get_double_param (const int id, const std::string &name) const |
void | set_int_param (const int id, const std::string &name, const int ival) |
int | get_int_param (const int id, const std::string &name) const |
void | set_string_param (const int id, const std::string &name, const std::string &sval) |
std::string | get_string_param (const int id, const std::string &name) const |
void | UpdateParametersWithMacro () |
void | CreateInitialize (const int detid) |
void | SaveToNodeTree (PHCompositeNode *runNode, const std::string &nodename) |
void | PutOnParNode (PHCompositeNode *parNode, const std::string &nodename) |
int | ExistDetid (const int detid) const |
Protected Member Functions | |
void | set_default_double_param (const std::string &name, const double dval) |
void | set_default_int_param (const std::string &name, const int ival) |
void | set_default_string_param (const std::string &name, const std::string &sval) |
void | InitializeParameters () |
const PHParametersContainer * | GetParamsContainer () |
PHParametersContainer * | GetParamsContainerModify () |
const PHParameters * | GetDefaultParameters () |
Definition at line 11 of file PHParameterContainerInterface.h.
PHParameterContainerInterface::PHParameterContainerInterface | ( | const std::string & | name | ) |
Definition at line 14 of file PHParameterContainerInterface.cc.
|
virtual |
Definition at line 23 of file PHParameterContainerInterface.cc.
void PHParameterContainerInterface::CreateInitialize | ( | const int | detid | ) |
Definition at line 252 of file PHParameterContainerInterface.cc.
References PHParametersContainer::AddPHParameters(), PHParametersContainer::GetParametersToModify(), and PHParametersContainer::Name().
Referenced by UpdateParametersWithMacro().
int PHParameterContainerInterface::ExistDetid | ( | const int | detid | ) | const |
Definition at line 266 of file PHParameterContainerInterface.cc.
References PHParametersContainer::ExistDetid().
double PHParameterContainerInterface::get_double_param | ( | const int | id, |
const std::string & | name | ||
) | const |
Definition at line 109 of file PHParameterContainerInterface.cc.
References PHParameters::get_double_param(), PHParametersContainer::GetParameters(), and PHParametersContainer::Name().
int PHParameterContainerInterface::get_int_param | ( | const int | id, |
const std::string & | name | ||
) | const |
Definition at line 149 of file PHParameterContainerInterface.cc.
References PHParameters::get_int_param(), PHParametersContainer::GetParameters(), and PHParametersContainer::Name().
string PHParameterContainerInterface::get_string_param | ( | const int | id, |
const std::string & | name | ||
) | const |
Definition at line 190 of file PHParameterContainerInterface.cc.
References PHParameters::get_string_param(), PHParametersContainer::GetParameters(), and PHParametersContainer::Name().
|
inlineprotected |
Definition at line 41 of file PHParameterContainerInterface.h.
|
inlineprotected |
Definition at line 39 of file PHParameterContainerInterface.h.
|
inlineprotected |
Definition at line 40 of file PHParameterContainerInterface.h.
|
protected |
Definition at line 246 of file PHParameterContainerInterface.cc.
References SetDefaultParameters().
void PHParameterContainerInterface::PutOnParNode | ( | PHCompositeNode * | parNode, |
const std::string & | nodename | ||
) |
Definition at line 240 of file PHParameterContainerInterface.cc.
References PHCompositeNode::addNode().
void PHParameterContainerInterface::SaveToNodeTree | ( | PHCompositeNode * | runNode, |
const std::string & | nodename | ||
) |
Definition at line 233 of file PHParameterContainerInterface.cc.
References PHParametersContainer::SaveToNodeTree().
|
protected |
Definition at line 43 of file PHParameterContainerInterface.cc.
References PHParameters::exist_double_param(), PHParameters::get_double_param(), and PHParameters::set_double_param().
|
protected |
Definition at line 56 of file PHParameterContainerInterface.cc.
References PHParameters::exist_int_param(), PHParameters::get_int_param(), and PHParameters::set_int_param().
|
protected |
Definition at line 69 of file PHParameterContainerInterface.cc.
References PHParameters::exist_string_param(), PHParameters::get_string_param(), and PHParameters::set_string_param().
void PHParameterContainerInterface::set_double_param | ( | const int | id, |
const std::string & | name, | ||
const double | dval | ||
) |
Definition at line 82 of file PHParameterContainerInterface.cc.
References PHParameters::exist_double_param(), PHParametersContainer::Name(), PHParameters::printdouble(), and PHParameters::set_double_param().
void PHParameterContainerInterface::set_int_param | ( | const int | id, |
const std::string & | name, | ||
const int | ival | ||
) |
Definition at line 122 of file PHParameterContainerInterface.cc.
References PHParametersContainer::AddPHParameters(), PHParameters::exist_int_param(), PHParametersContainer::Name(), PHParameters::printint(), and PHParameters::set_int_param().
void PHParameterContainerInterface::set_name | ( | const std::string & | name | ) |
Definition at line 37 of file PHParameterContainerInterface.cc.
References PHParametersContainer::set_name().
void PHParameterContainerInterface::set_string_param | ( | const int | id, |
const std::string & | name, | ||
const std::string & | sval | ||
) |
Definition at line 162 of file PHParameterContainerInterface.cc.
References PHParametersContainer::AddPHParameters(), PHParameters::exist_string_param(), PHParametersContainer::Name(), PHParameters::printstring(), and PHParameters::set_string_param().
|
pure virtual |
void PHParameterContainerInterface::UpdateParametersWithMacro | ( | ) |
Definition at line 203 of file PHParameterContainerInterface.cc.
References CreateInitialize(), PHParameters::get_all_double_params(), PHParametersContainer::GetParametersToModify(), PHParameters::set_double_param(), PHParameters::set_int_param(), and PHParameters::set_string_param().