1 #include "../interface/IntegrityTask.h" 17 MEs_.at(
"MapByLumi").reset();
18 MEs_.at(
"ByLumi").reset();
21 template<
typename IDCollection>
26 if(_ids.size() == 0)
return;
32 set = &
MEs_.at(
"Gain");
36 set = &
MEs_.at(
"ChId");
40 set = &
MEs_.at(
"GainSwitch");
49 MESet& meTrendNErrors(
MEs_.at(
"TrendNErrors"));
51 std::for_each(_ids.begin(), _ids.end(),
68 if(_ids.
size() == 0)
return;
73 set = &
MEs_.at(
"TowerId");
76 set = &
MEs_.at(
"BlockSize");
85 MESet& meTrendNErrors(
MEs_.at(
"TrendNErrors"));
87 std::for_each(_ids.
begin(), _ids.
end(),
90 int dccid(
id.
dccId());
93 if(dccid <= kEEmHigh + 1 || dccid >=
kEEpLow + 1)
94 nCrystals = chIds.size();
97 meByLumi.fill(dccid, nCrystals);
98 meTotal.fill(dccid, nCrystals);
102 for(std::vector<DetId>::iterator chItr(chIds.begin()); chItr != chIds.end(); ++chItr)
103 meMapByLumi.fill(*chItr);
#define DEFINE_ECALDQM_WORKER(TYPE)
edm::LuminosityBlockNumber_t iLumi
void runOnDetIdCollection(C const &, Collections)
void runOnElectronicsIdCollection(EcalElectronicsIdCollection const &, Collections)
const_iterator end() const
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
EcalElectronicsMapping const * getElectronicsMap()
unsigned nCrystals(unsigned)
Container::value_type value_type
unsigned towerId(DetId const &)
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
const_iterator begin() const
unsigned dccId(DetId const &)