45 findingRecord<SiStripConfObjectRcd>();
69 if( paramType ==
"int" ) {
70 confObject->put(paramName, param.getParameter<int32_t>(
"ParameterValue"));
72 else if( paramType ==
"double" ) {
73 confObject->put(paramName, param.getParameter<
double>(
"ParameterValue"));
75 else if( paramType ==
"string" ) {
76 confObject->put(paramName, param.getParameter<
std::string>(
"ParameterValue"));
78 else if( paramType ==
"bool" ) {
79 confObject->put(paramName, param.getParameter<
bool>(
"ParameterValue"));
81 else if( paramType ==
"vint32" ) {
82 confObject->put(paramName, param.getParameter<std::vector<int> >(
"ParameterValue"));
84 else if( paramType ==
"vstring" ) {
85 confObject->put(paramName, param.getParameter<std::vector<std::string> >(
"ParameterValue"));
T getParameter(std::string const &) const
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
std::shared_ptr< SiStripConfObject > ReturnType
~SiStripConfObjectFakeESSource() override
static const IOVSyncValue & endOfTime()
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
static const IOVSyncValue & beginOfTime()
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
SiStripConfObjectFakeESSource(const edm::ParameterSet &)
std::vector< edm::ParameterSet > m_parameters
ReturnType produce(const SiStripConfObjectRcd &)