1 #ifndef PHG4PARAMETERS_H
2 #define PHG4PARAMETERS_H
22 typedef std::map<const std::string, double>
dMap;
23 typedef dMap::const_iterator
dIter;
24 typedef std::map<const std::string, int>
iMap;
25 typedef iMap::const_iterator
iIter;
26 typedef std::map<const std::string, std::string>
strMap;
27 typedef std::map<const std::string, std::string>::const_iterator
strIter;
42 std::pair<std::map<const std::string, int>::const_iterator, std::map<const std::string, int>::const_iterator>
get_all_int_params() {
return std::make_pair(
intparams.begin(),
intparams.end());}
66 int ReadFromDB(
const std::string &name,
const int layer);
std::map< const std::string, double > dMap
PdbParameterMap * pdbparam
PHG4Parameters(const std::string &name)
void set_double_param(const std::string &name, const double dval)
std::map< const std::string, std::string > strMap
size_t get_hash() const
hash of binary information for checking purpose
bool exist_string_param(const std::string &name) const
dMap::const_iterator dIter
std::string get_string_param(const std::string &name) const
void SaveToNodeTree(PHCompositeNode *topNode, const std::string &nodename)
std::map< const std::string, int > iMap
void set_int_param(const std::string &name, const int ival)
void CopyToPdbParameterMap(PdbParameterMap *myparm)
std::pair< std::map< const std::string, int >::const_iterator, std::map< const std::string, int >::const_iterator > get_all_int_params()
double get_double_param(const std::string &name) const
virtual ~PHG4Parameters()
iMap::const_iterator iIter
bool exist_int_param(const std::string &name) const
void FillFrom(const PdbParameterMap *saveparams)
std::map< const std::string, std::string >::const_iterator strIter
std::pair< std::map< const std::string, std::string >::const_iterator, std::map< const std::string, std::string >::const_iterator > get_all_string_params()
void set_string_param(const std::string &name, const std::string &str)
bool exist_double_param(const std::string &name) const
void set_name(const std::string &name)
int get_int_param(const std::string &name) const
unsigned int ConvertStringToUint(const std::string &str) const
std::pair< std::map< const std::string, double >::const_iterator, std::map< const std::string, double >::const_iterator > get_all_double_params()