68 uint16_t code(chIt->getEncodedStatusCode());
69 chSItr->setBinContent(code);
84 float entries(occItr->getBinContent());
93 if (entries +
gain + chid + gainswitch + towerid + blocksize < 1.) {
99 float chErr((
gain + chid + gainswitch + towerid + blocksize) /
100 (entries +
gain + chid + gainswitch + towerid + blocksize));
103 qItr->setBinContent(doMask ?
kMBad :
kBad);
115 std::vector<bool> hasMismatchDCC(
nDCC,
false);
116 for (
unsigned iDCC(0); iDCC <
nDCC; ++iDCC) {
119 hasMismatchDCC[iDCC] =
true;
127 if (hasMismatchDCC[iDCC])
128 meQualitySummary.setBinContent(
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > chStatusToken
#define DEFINE_ECALDQM_WORKER(TYPE)
void producePlots(ProcessType) override
MESet & at(const std::string &key)
const_iterator & toNextChannel(EcalElectronicsMapping const *electronicsMap)
static const int TT_SIZE_ERROR
static const int CH_GAIN_SWITCH_ERROR
void setParams(edm::ParameterSet const &) override
std::set< std::string > qualitySummaries_
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void setTokens(edm::ConsumesCollector &) override
StatusManager const * statusManager_
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
bool getData(T &iHolder) const
const_iterator find(uint32_t rawId) const
EcalElectronicsMapping const * GetElectronicsMap()
EcalDQMSetupObjects const getEcalDQMSetupObjects()
const EcalChannelStatus * chStatus
static const int CH_GAIN_ZERO_ERROR
std::vector< Item >::const_iterator const_iterator
float errFractionThreshold_
static const int TT_ID_ERROR
const_iterator end() const
EcalTrigTowerConstituentsMap const * GetTrigTowerMap()
static const int CH_ID_ERROR