32 edm::LogInfo(
"SiStripQualityESProducer") <<
"ctor" << std::endl;
39 auto quality = std::make_unique<SiStripQuality>();
40 edm::LogInfo(
"SiStripQualityESProducer") <<
"produce called" << std::endl;
52 bool doRunInfo =
false;
60 for( Parameters::iterator itToGet =
toGet.begin(); itToGet !=
toGet.end(); ++itToGet ) {
61 tagName = itToGet->getParameter<
std::string>(
"tag");
62 recordName = itToGet->getParameter<
std::string>(
"record");
64 edm::LogInfo(
"SiStripQualityESProducer") <<
"[SiStripQualityESProducer::produce] Getting data from record " << recordName <<
" with tag " << tagName << std::endl;
66 if (recordName==
"SiStripBadModuleRcd"){
69 }
else if (recordName==
"SiStripBadModuleFedErrRcd"){
72 }
else if (recordName==
"SiStripBadFiberRcd"){
75 }
else if (recordName==
"SiStripBadChannelRcd"){
78 }
else if (recordName==
"SiStripBadStripRcd"){
81 }
else if (recordName==
"SiStripDetCablingRcd"){
84 }
else if (recordName==
"SiStripDetVOffRcd"){
87 }
else if (recordName==
"RunInfoRcd") {
91 edm::LogError(
"SiStripQualityESProducer") <<
"[SiStripQualityESProducer::produce] Skipping the requested data for unexisting record " << recordName <<
" with tag " << tagName << std::endl;
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
const DepRecordT & getRecord() const
std::unique_ptr< SiStripQuality > produce(const SiStripQualityRcd &)
T const * product() const
std::vector< edm::ParameterSet > Parameters
SiStripQualityESProducer(const edm::ParameterSet &)