7 edm::LogInfo(
"SiStripConfObjectGenerator") <<
"[SiStripConfObjectGenerator::SiStripConfObjectGenerator]";
12 edm::LogInfo(
"SiStripConfObjectGenerator") <<
"[SiStripConfObjectGenerator::~SiStripConfObjectGenerator]";
18 std::vector<edm::ParameterSet>::const_iterator parIt =
parameters_.begin();
21 if( parIt->getParameter<std::string>(
"ParameterType") ==
"int" ) {
22 obj_->
put(parIt->getParameter<std::string>(
"ParameterName"), parIt->getParameter<int32_t>(
"ParameterValue"));
24 else if( parIt->getParameter<std::string>(
"ParameterType") ==
"double" ) {
25 obj_->
put(parIt->getParameter<std::string>(
"ParameterName"), parIt->getParameter<
double>(
"ParameterValue"));
27 if( parIt->getParameter<std::string>(
"ParameterType") ==
"string" ) {
28 obj_->
put(parIt->getParameter<std::string>(
"ParameterName"), parIt->getParameter<std::string>(
"ParameterValue"));
T getParameter(std::string const &) const
std::vector< edm::ParameterSet > parameters_
SiStripConfObjectGenerator(const edm::ParameterSet &, const edm::ActivityRegistry &)
bool put(const std::string &name, const valueType &inputValue)
~SiStripConfObjectGenerator()