11 bool const& ByLumiResetSwitch,
13 if (ByLumiResetSwitch) {
19 template <
typename IDCollection>
26 switch (_collection) {
37 set = &
MEs_.
at(
"GainSwitch");
66 switch (_collection) {
71 set = &
MEs_.
at(
"BlockSize");
84 int dccid(
id.
dccId());
87 if (dccid <= kEEmHigh + 1 || dccid >=
kEEpLow + 1)
88 nCrystals = chIds.size();
96 for (std::vector<DetId>::iterator chItr(chIds.begin()); chItr != chIds.end(); ++chItr)
#define DEFINE_ECALDQM_WORKER(TYPE)
uint16_t *__restrict__ id
edm::LuminosityBlockNumber_t iLumi
void runOnDetIdCollection(C const &, Collections)
void runOnElectronicsIdCollection(EcalElectronicsIdCollection const &, Collections)
MESet & at(const std::string &key)
const_iterator end() const
unsigned nCrystals(unsigned)
Container::value_type value_type
unsigned towerId(DetId const &, EcalElectronicsMapping const *)
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
virtual void fill(EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.)
void beginEvent(edm::Event const &, edm::EventSetup const &, bool const &, bool &) override
EcalDQMSetupObjects const getEcalDQMSetupObjects()
const_iterator begin() const
EcalElectronicsMapping const * GetElectronicsMap()
virtual void reset(EcalElectronicsMapping const *, double=0., double=0., double=0.)