32 for (
int iFED(0); iFED < 54; iFED++) {
46 bool const& ByLumiResetSwitch,
48 if (ByLumiResetSwitch) {
60 MESet& meLaserCorrProjEta(
MEs_.
at(
"LaserCorrProjEta"));
63 float lasercalib = 1.;
71 lasercalib =
laser->getLaserCorrection(ebid, evtTimeStamp);
79 lasercalib =
laser->getLaserCorrection(eeid, evtTimeStamp);
106 MESet& meNEvents(static_cast<MESet&>(
MEs_.
at(
"NEvents")));
107 MESet& meTrendEventsperLumi(
MEs_.
at(
"TrendEventsperLumi"));
108 MESet& meTrendPUperLumi(
MEs_.
at(
"TrendPUperLumi"));
116 template <
typename DigiCollection>
126 MESet* meAELoss =
nullptr;
128 meAELoss = &
MEs_.
at(
"AELoss");
153 MESet& meTPDigiThrAllByLumi(
MEs_.
at(
"TPDigiThrAllByLumi"));
154 MESet& meTPDigiThrProjEta(
MEs_.
at(
"TPDigiThrProjEta"));
155 MESet& meTPDigiThrProjPhi(
MEs_.
at(
"TPDigiThrProjPhi"));
158 double nFilteredEB(0.);
159 double nFilteredEE(0.);
188 MESet& meRecHitThrAllByLumi(
MEs_.
at(
"RecHitThrAllByLumi"));
191 MESet& meRecHitThrProjEta(
MEs_.
at(
"RecHitThrProjEta"));
192 MESet& meRecHitThrProjPhi(
MEs_.
at(
"RecHitThrProjPhi"));
194 MESet& meTrendNRecHitThr(
MEs_.
at(
"TrendNRecHitThr"));
197 double nFiltered(0.);
199 float nRHThrp(0), nRHThrm(0);
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_ECALDQM_WORKER(TYPE)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::LuminosityBlockNumber_t iLumi
MESet & at(const std::string &key)
void runOnRecHits(EcalRecHitCollection const &, Collections)
Class to contain the online luminosity from soft FED 1022.
std::vector< T >::const_iterator const_iterator
edm::InputTag metadataTag
void runOnRawData(EcalRawDataCollection const &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void runOnDigis(DigiCollection const &, Collections)
void beginRun(edm::Run const &, edm::EventSetup const &) override
static EEDetId unhashIndex(int hi)
edm::Timestamp time() const
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void runOnTPDigis(EcalTrigPrimDigiCollection const &)
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
const_iterator begin() const
void setTokens(edm::ConsumesCollector &) override
void setParams(edm::ParameterSet const &) override
const_iterator end() const
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override
EcalElectronicsMapping const * GetElectronicsMap()
EcalDQMSetupObjects const getEcalDQMSetupObjects()
bool filterRunType(short const *) override
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > lasertoken_
TimeValue_t value() const
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
static bool validDenseIndex(uint32_t din)
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
virtual void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.)
void erase(const std::string &key)
float avgPileUp() const
Return the average pileup for th current nibble.
static bool validDenseIndex(uint32_t din)