32 edm::LogInfo(
"SiStripDelayESProducer") <<
"ctor" << std::endl;
40 edm::LogInfo(
"SiStripDelayESProducer") <<
"produce called" << std::endl;
50 for( Parameters::iterator itToGet =
toGet.begin(); itToGet !=
toGet.end(); ++itToGet ) {
51 recordName = itToGet->getParameter<std::string>(
"Record");
52 label = itToGet->getParameter<std::string>(
"Label");
53 sumSign = itToGet->getParameter<
int>(
"SumSign");
55 edm::LogInfo(
"SiStripDelayESProducer") <<
"[SiStripDelayESProducer::produce] Getting data from record " << recordName <<
" with label " << label << std::endl;
57 if( recordName==
"SiStripBaseDelayRcd" ) {
59 delay->fillNewDelay( *(baseDelay.
product()), sumSign, std::make_pair(recordName, label) );
61 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