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==
"SiStripBadModuleFedErrRcd"){
73 }
else if (recordName==
"SiStripBadFiberRcd"){
76 }
else if (recordName==
"SiStripBadChannelRcd"){
79 }
else if (recordName==
"SiStripBadStripRcd"){
82 }
else if (recordName==
"SiStripDetCablingRcd"){
85 }
else if (recordName==
"SiStripDetVOffRcd"){
88 }
else if (recordName==
"RunInfoRcd") {
89 runInfoTagName = tagName;
92 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 &)