|
|
Go to the documentation of this file.
18 formula_(_ps.getUntrackedParameter<
std::
string>(
"formula")),
20 verbosity_(_ps.getUntrackedParameter<
int>(
"verbosity")) {
24 if (
table ==
"CrystalConsistency")
26 if (
table ==
"TTConsistency")
28 if (
table ==
"MemChConsistency")
30 if (
table ==
"MemTTConsistency")
32 if (
table ==
"LaserBlue")
34 if (
table ==
"TimingLaserBlueCrystal")
36 if (
table ==
"PNBlue")
38 if (
table ==
"LaserGreen")
40 if (
table ==
"TimingLaserGreenCrystal")
42 if (
table ==
"PNGreen")
44 if (
table ==
"LaserIRed")
46 if (
table ==
"TimingLaserIRedCrystal")
48 if (
table ==
"PNIRed")
50 if (
table ==
"LaserRed")
52 if (
table ==
"TimingLaserRedCrystal")
56 if (
table ==
"Pedestals")
60 if (
table ==
"PedestalsOnline")
62 if (
table ==
"TestPulse")
64 if (
table ==
"PulseShape")
66 if (
table ==
"PNMGPA")
68 if (
table ==
"TimingCrystal")
72 if (
table ==
"TimingLed1Crystal")
76 if (
table ==
"TimingLed2Crystal")
78 if (
table ==
"Occupancy")
90 std::unique_ptr<EcalCondDBInterface>
db(
nullptr);
97 }
catch (std::runtime_error &re) {
101 }
catch (std::runtime_error &re2) {
135 }
catch (std::runtime_error &
e) {
158 for (std::map<DetId, double>::const_iterator vItr(
values.begin()); vItr !=
values.end(); ++vItr)
170 throw cms::Exception(
"InvalidCall") <<
"Electronics Mapping not initialized";
176 throw cms::Exception(
"InvalidCall") <<
"Electronics Mapping not initialized";
T const * product() const
const ecaldqm::EcalDQMSetupObjects getEcalDQMSetupObjects()
void setMonitoringVersion(std::string ver)
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void dqmEndRun(DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) override
virtual void setBinContent(EcalDQMSetupObjects const, DetId const &, double)
virtual void book(DQMStore::IBooker &, EcalElectronicsMapping const *)
const EcalElectronicsMapping * electronicsMap
MonRunIOV fetchMonRunIOV(RunTag *runtag, MonRunTag *montag, run_t run, subrun_t monrun) noexcept(false)
T getUntrackedParameter(std::string const &, T const &) const
void setElectronicsMap(edm::EventSetup const &)
Log< level::Info, false > LogInfo
void setGeneralTag(std::string tag)
EcalCondDBReader(edm::ParameterSet const &)
virtual std::map< DetId, double > run(EcalCondDBInterface *, MonRunIOV &, std::string const &)=0
ecaldqm::DBReaderWorker * worker_
Log< level::Error, false > LogError
const EcalElectronicsMapping * GetElectronicsMap()
EcalCondDBInterface * db_
MESet * createMESet(edm::ParameterSet const &)
void setMonVersionDef(const MonVersionDef &ver)
RunIOV fetchRunIOV(RunTag *tag, run_t run) noexcept(false)
~EcalCondDBReader() override