13 std::cout <<
"WARNING: parameter " <<
name <<
" not found. Returning default value" << std::endl;
19 bool SiStripConfObject::put<std::vector<int> >(
const std::string&
name,
const std::vector<int>& inputValue) {
21 for (std::vector<int>::const_iterator elem = inputValue.begin(); elem != inputValue.end(); ++elem) {
30 bool SiStripConfObject::update<std::vector<int> >(
const std::string&
name,
const std::vector<int>& inputValue) {
33 std::cout <<
"WARNING in SiStripConfObject::update: parameter " <<
name <<
" not found, " 34 <<
"so cannot be updated to the vector of int of size'" << inputValue.size() <<
"'." << std::endl;
38 for (std::vector<int>::const_iterator elem = inputValue.begin(); elem != inputValue.end(); ++elem) {
41 it->second =
ss.str();
47 std::vector<int> SiStripConfObject::get<std::vector<int> >(
const std::string&
name)
const {
48 std::vector<int> returnValue;
55 returnValue.push_back(elem);
57 std::cout <<
"WARNING: parameter " <<
name <<
" not found. Returning default value" << std::endl;
64 const std::vector<std::string>& inputValue) {
66 for (std::vector<std::string>::const_iterator elem = inputValue.begin(); elem != inputValue.end(); ++elem) {
75 bool SiStripConfObject::update<std::vector<std::string> >(
const std::string&
name,
76 const std::vector<std::string>& inputValue) {
79 std::cout <<
"WARNING in SiStripConfObject::update: parameter " <<
name <<
" not found, " 80 <<
"so cannot be updated to the vector of std::string of size'" << inputValue.size() <<
"'." << std::endl;
84 for (std::vector<std::string>::const_iterator elem = inputValue.begin(); elem != inputValue.end(); ++elem) {
87 it->second =
ss.str();
93 std::vector<std::string> SiStripConfObject::get<std::vector<std::string> >(
const std::string&
name)
const {
94 std::vector<std::string> returnValue;
101 returnValue.push_back(elem);
103 std::cout <<
"WARNING: parameter " <<
name <<
" not found. Returning default value" << std::endl;
109 parMap::const_iterator it =
parameters.begin();
111 ss <<
"parameter name = " << it->first <<
" value = " << it->second << std::endl;
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints the full list of parameters.
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints the full list of parameters.