32 edm::LogInfo(
"SiStripQualityESProducer") <<
"ctor" << std::endl;
41 edm::LogInfo(
"SiStripQualityESProducer") <<
"produce called" << std::endl;
53 bool doRunInfo =
false;
61 for( Parameters::iterator itToGet =
toGet.begin(); itToGet !=
toGet.end(); ++itToGet ) {
62 tagName = itToGet->getParameter<
std::string>(
"tag");
63 recordName = itToGet->getParameter<
std::string>(
"record");
65 edm::LogInfo(
"SiStripQualityESProducer") <<
"[SiStripQualityESProducer::produce] Getting data from record " << recordName <<
" with tag " << tagName << std::endl;
67 if (recordName==
"SiStripBadModuleRcd"){
70 }
else if (recordName==
"SiStripBadFiberRcd"){
73 }
else if (recordName==
"SiStripBadChannelRcd"){
76 }
else if (recordName==
"SiStripBadStripRcd"){
79 }
else if (recordName==
"SiStripDetCablingRcd"){
82 }
else if (recordName==
"SiStripDetVOffRcd"){
85 }
else if (recordName==
"RunInfoRcd") {
86 runInfoTagName = tagName;
89 edm::LogError(
"SiStripQualityESProducer") <<
"[SiStripQualityESProducer::produce] Skipping the requested data for unexisting record " << recordName <<
" with tag " << tagName << std::endl;
T getParameter(std::string const &) const
boost::shared_ptr< SiStripQuality > produce(const SiStripQualityRcd &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
const DepRecordT & getRecord() const
boost::shared_ptr< SiStripQuality > quality
T const * product() const
std::vector< edm::ParameterSet > Parameters
SiStripQualityESProducer(const edm::ParameterSet &)