1 #ifndef SiStripConfObject_h
2 #define SiStripConfObject_h
35 template <
class valueType>
47 template <
class valueType>
51 std::cout <<
"WARNING in SiStripConfObject::update: parameter " <<
name <<
" not found, "
52 <<
"so cannot be updated to '" << inputValue <<
"'." << std::endl;
57 it->second =
ss.str();
62 template <
class valueType>
64 valueType returnValue = 0;
71 std::cout <<
"WARNING: parameter " <<
name <<
" not found. Returning default value" << std::endl;
83 typedef std::map<std::string, std::string>
parMap;
93 bool SiStripConfObject::put<std::vector<int> >(
const std::string&
name,
const std::vector<int>& inputValue);
95 bool SiStripConfObject::update<std::vector<int> >(
const std::string&
name,
const std::vector<int>& inputValue);
97 std::vector<int> SiStripConfObject::get<std::vector<int> >(
const std::string&
name)
const;
99 bool SiStripConfObject::put<std::vector<std::string> >(
const std::string&
name,
100 const std::vector<std::string>& inputValue);
102 bool SiStripConfObject::update<std::vector<std::string> >(
const std::string&
name,
103 const std::vector<std::string>& inputValue);
105 std::vector<std::string> SiStripConfObject::get<std::vector<std::string> >(
const std::string&
name)
const;