33 for (
int iFED(0); iFED < 54; iFED++) {
47 bool const& ByLumiResetSwitch,
49 if (ByLumiResetSwitch) {
61 MESet& meLaserCorrProjEta(
MEs_.
at(
"LaserCorrProjEta"));
64 float lasercalib = 1.;
72 lasercalib =
laser->getLaserCorrection(ebid, evtTimeStamp);
80 lasercalib =
laser->getLaserCorrection(eeid, evtTimeStamp);
107 MESet& meNEvents(static_cast<MESet&>(
MEs_.
at(
"NEvents")));
108 MESet& meTrendEventsperLumi(
MEs_.
at(
"TrendEventsperLumi"));
109 MESet& meTrendPUperLumi(
MEs_.
at(
"TrendPUperLumi"));
117 template <
typename DigiCollection>
127 MESet* meAELoss =
nullptr;
128 MESet* meAEReco =
nullptr;
130 meAELoss = &
MEs_.
at(
"AELoss");
131 meAEReco = &
MEs_.
at(
"AEReco");
158 MESet& meTPDigiThrAllByLumi(
MEs_.
at(
"TPDigiThrAllByLumi"));
159 MESet& meTPDigiThrProjEta(
MEs_.
at(
"TPDigiThrProjEta"));
160 MESet& meTPDigiThrProjPhi(
MEs_.
at(
"TPDigiThrProjPhi"));
163 double nFilteredEB(0.);
164 double nFilteredEE(0.);
193 MESet& meRecHitThrAllByLumi(
MEs_.
at(
"RecHitThrAllByLumi"));
196 MESet& meRecHitThrProjEta(
MEs_.
at(
"RecHitThrProjEta"));
197 MESet& meRecHitThrProjPhi(
MEs_.
at(
"RecHitThrProjPhi"));
199 MESet& meTrendNRecHitThr(
MEs_.
at(
"TrendNRecHitThr"));
202 double nFiltered(0.);
204 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)