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);
90 if (lumiScalers.
isValid() and not lumiScalers->empty()) {
91 auto scalit = lumiScalers->begin();
108 MESet& meNEvents(static_cast<MESet&>(
MEs_.
at(
"NEvents")));
109 MESet& meTrendEventsperLumi(
MEs_.
at(
"TrendEventsperLumi"));
110 MESet& meTrendPUperLumi(
MEs_.
at(
"TrendPUperLumi"));
118 template <
typename DigiCollection>
128 MESet* meAELoss =
nullptr;
130 meAELoss = &
MEs_.
at(
"AELoss");
132 std::for_each(_digis.begin(), _digis.end(), [&](
typename DigiCollection::Digi
const& digi) {
155 MESet& meTPDigiThrAllByLumi(
MEs_.
at(
"TPDigiThrAllByLumi"));
156 MESet& meTPDigiThrProjEta(
MEs_.
at(
"TPDigiThrProjEta"));
157 MESet& meTPDigiThrProjPhi(
MEs_.
at(
"TPDigiThrProjPhi"));
160 double nFilteredEB(0.);
161 double nFilteredEE(0.);
190 MESet& meRecHitThrAllByLumi(
MEs_.
at(
"RecHitThrAllByLumi"));
193 MESet& meRecHitThrProjEta(
MEs_.
at(
"RecHitThrProjEta"));
194 MESet& meRecHitThrProjPhi(
MEs_.
at(
"RecHitThrProjPhi"));
196 MESet& meTrendNRecHitThr(
MEs_.
at(
"TrendNRecHitThr"));
199 double nFiltered(0.);
201 float nRHThrp(0), nRHThrm(0);
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_ECALDQM_WORKER(TYPE)
uint16_t *__restrict__ id
edm::LuminosityBlockNumber_t iLumi
MESet & at(const std::string &key)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void runOnRecHits(EcalRecHitCollection const &, Collections)
std::vector< T >::const_iterator const_iterator
void runOnRawData(EcalRawDataCollection const &)
void runOnDigis(DigiCollection const &, Collections)
void beginRun(edm::Run const &, edm::EventSetup const &) override
static EEDetId unhashIndex(int hi)
bool getData(T &iHolder) 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.)
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
EcalDQMSetupObjects const getEcalDQMSetupObjects()
edm::EDGetTokenT< LumiScalersCollection > lumiScalersToken_
bool filterRunType(short const *) override
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > lasertoken_
T getParameter(std::string const &) const
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
static bool validDenseIndex(uint32_t din)
std::vector< LumiScalers > LumiScalersCollection
EcalElectronicsMapping const * GetElectronicsMap()
virtual void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.)
TimeValue_t value() const
void erase(const std::string &key)
edm::Timestamp time() const
static bool validDenseIndex(uint32_t din)
const_iterator begin() const