33 edm::LogInfo(
"SiStripQualityESProducer") <<
"ctor" << std::endl;
42 edm::LogInfo(
"SiStripQualityESProducer") <<
"produce called" << std::endl;
54 bool doRunInfo =
false;
55 std::string runInfoTagName =
"";
62 for( Parameters::iterator itToGet =
toGet.begin(); itToGet !=
toGet.end(); ++itToGet ) {
63 tagName = itToGet->getParameter<std::string>(
"tag");
64 recordName = itToGet->getParameter<std::string>(
"record");
66 edm::LogInfo(
"SiStripQualityESProducer") <<
"[SiStripQualityESProducer::produce] Getting data from record " << recordName <<
" with tag " << tagName << std::endl;
68 if (recordName==
"SiStripBadModuleRcd"){
71 }
else if (recordName==
"SiStripBadFiberRcd"){
74 }
else if (recordName==
"SiStripBadChannelRcd"){
77 }
else if (recordName==
"SiStripBadStripRcd"){
80 }
else if (recordName==
"SiStripDetCablingRcd"){
83 }
else if (recordName==
"SiStripDetVOffRcd"){
86 }
else if (recordName==
"RunInfoRcd") {
90 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 &)