1 #include "../interface/IntegrityTask.h"
16 MEs_.at(
"ByLumi").reset();
19 template<
typename IDCollection>
23 if(_ids.size() == 0)
return;
29 set = &
MEs_.at(
"Gain");
33 set = &
MEs_.at(
"ChId");
37 set = &
MEs_.at(
"GainSwitch");
45 MESet& meTrendNErrors(
MEs_.at(
"TrendNErrors"));
47 std::for_each(_ids.begin(), _ids.end(),
61 if(_ids.
size() == 0)
return;
66 set = &
MEs_.at(
"TowerId");
69 set = &
MEs_.at(
"BlockSize");
77 MESet& meTrendNErrors(
MEs_.at(
"TrendNErrors"));
79 std::for_each(_ids.
begin(), _ids.
end(),
82 int dccid(
id.
dccId());
84 if(dccid <= kEEmHigh + 1 || dccid >=
kEEpLow + 1)
88 meByLumi.fill(dccid, nCrystals);
89 meTotal.fill(dccid, nCrystals);
#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
virtual void fill(DetId const &, double=1., double=1., double=1.)
unsigned dccId(DetId const &)
std::vector< DetId > dccTowerConstituents(int dccId, int tower) const
Get the constituent detids for this dccId.