31 edm::LogInfo(
"SiStripDelayESProducer") <<
"ctor" << std::endl;
39 edm::LogInfo(
"SiStripDelayESProducer") <<
"produce called" << std::endl;
49 for( Parameters::iterator itToGet =
toGet.begin(); itToGet !=
toGet.end(); ++itToGet ) {
50 recordName = itToGet->getParameter<
std::string>(
"Record");
51 label = itToGet->getParameter<
std::string>(
"Label");
52 sumSign = itToGet->getParameter<
int>(
"SumSign");
54 edm::LogInfo(
"SiStripDelayESProducer") <<
"[SiStripDelayESProducer::produce] Getting data from record " << recordName <<
" with label " << label << std::endl;
56 if( recordName==
"SiStripBaseDelayRcd" ) {
58 delay->fillNewDelay( *(baseDelay.
product()), sumSign, std::make_pair(recordName, label) );
60 edm::LogError(
"SiStripDelayESProducer") <<
"[SiStripDelayESProducer::produce] Skipping the requested data for unexisting record " << recordName <<
" with tag " << label << std::endl;
SiStripDelayESProducer(const edm::ParameterSet &)
std::shared_ptr< SiStripDelay > delay
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
const DepRecordT & getRecord() const
std::shared_ptr< SiStripDelay > produce(const SiStripDelayRcd &)
T const * product() const
std::vector< edm::ParameterSet > Parameters