16 formula_(_ps.getUntrackedParameter<
std::
string>(
"formula")),
18 verbosity_(_ps.getUntrackedParameter<
int>(
"verbosity")),
23 if (
table ==
"CrystalConsistency")
25 if (
table ==
"TTConsistency")
27 if (
table ==
"MemChConsistency")
29 if (
table ==
"MemTTConsistency")
31 if (
table ==
"LaserBlue")
33 if (
table ==
"TimingLaserBlueCrystal")
35 if (
table ==
"PNBlue")
37 if (
table ==
"LaserGreen")
39 if (
table ==
"TimingLaserGreenCrystal")
41 if (
table ==
"PNGreen")
43 if (
table ==
"LaserIRed")
45 if (
table ==
"TimingLaserIRedCrystal")
47 if (
table ==
"PNIRed")
49 if (
table ==
"LaserRed")
51 if (
table ==
"TimingLaserRedCrystal")
55 if (
table ==
"Pedestals")
59 if (
table ==
"PedestalsOnline")
61 if (
table ==
"TestPulse")
63 if (
table ==
"PulseShape")
65 if (
table ==
"PNMGPA")
67 if (
table ==
"TimingCrystal")
71 if (
table ==
"TimingLed1Crystal")
75 if (
table ==
"TimingLed2Crystal")
77 if (
table ==
"Occupancy")
89 std::unique_ptr<EcalCondDBInterface>
db(
nullptr);
96 }
catch (std::runtime_error &re) {
100 }
catch (std::runtime_error &re2) {
134 }
catch (std::runtime_error &
e) {
157 for (std::map<DetId, double>::const_iterator vItr(
values.begin()); vItr !=
values.end(); ++vItr)
165 throw cms::Exception(
"InvalidCall") <<
"Electronics Mapping not initialized";
171 throw cms::Exception(
"InvalidCall") <<
"Electronics Mapping not initialized";
virtual void setBinContent(EcalDQMSetupObjects const, DetId const &, double)
MonRunIOV fetchMonRunIOV(RunTag *runtag, MonRunTag *montag, run_t run, subrun_t monrun) noexcept(false)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
ecaldqm::DBReaderWorker * worker_
EcalElectronicsMapping const * GetElectronicsMap()
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
Log< level::Error, false > LogError
EcalCondDBInterface * db_
~EcalCondDBReader() override
void setGeneralTag(std::string tag)
EcalElectronicsMapping const * electronicsMap
T getUntrackedParameter(std::string const &, T const &) const
RunIOV fetchRunIOV(RunTag *tag, run_t run) noexcept(false)
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > elecMapHandle
virtual void book(DQMStore::IBooker &, EcalElectronicsMapping const *)
void dqmEndRun(DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) override
void setMonVersionDef(const MonVersionDef &ver)
void setElectronicsMap(edm::EventSetup const &)
Log< level::Info, false > LogInfo
void setMonitoringVersion(std::string ver)
EcalCondDBReader(edm::ParameterSet const &)
virtual std::map< DetId, double > run(EcalCondDBInterface *, MonRunIOV &, std::string const &)=0
MESet * createMESet(edm::ParameterSet const &)
ecaldqm::EcalDQMSetupObjects const getEcalDQMSetupObjects()