1 #ifndef SiStripConfObject_h
2 #define SiStripConfObject_h
32 template <
class valueType>
33 bool put(
const std::string &
name,
const valueType & inputValue )
37 if(
parameters.insert(std::make_pair(name, ss.str())).second )
return true;
41 template <
class valueType>
42 valueType
get(
const std::string &
name )
const
44 valueType returnValue;
52 std::cout <<
"WARNING: parameter " <<
name <<
" not found. Returning default value" << std::endl;
67 typedef std::map<std::string, std::string>
parMap;
void printSummary(std::stringstream &ss) const
Prints the full list of parameters.
std::map< std::string, std::string > parMap
bool put(const std::string &name, const valueType &inputValue)
void printDebug(std::stringstream &ss) const
Prints the full list of parameters.
bool isParameter(const std::string &name) const