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;
boost::shared_ptr< SiStripDelay > delay
SiStripDelayESProducer(const edm::ParameterSet &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
const DepRecordT & getRecord() const
T const * product() const
boost::shared_ptr< SiStripDelay > produce(const SiStripDelayRcd &)
std::vector< edm::ParameterSet > Parameters