51 int nEv = sNumEvents.getFloatValue();
83 uint16_t code(chIt->getEncodedStatusCode());
84 chSItr->setBinContent(code);
99 float entries(occItr->getBinContent());
108 if (entries +
gain + chid + gainswitch + towerid + blocksize < 1.) {
114 float chErr((
gain + chid + gainswitch + towerid + blocksize) /
115 (entries +
gain + chid + gainswitch + towerid + blocksize));
118 qItr->setBinContent(doMask ?
kMBad :
kBad);
130 std::vector<bool> hasMismatchDCC(
nDCC,
false);
131 for (
unsigned iDCC(0); iDCC <
nDCC; ++iDCC) {
135 if (nBXSRPdesync > 50. || nBXTCCdesync > 50.) {
137 hasMismatchDCC[iDCC] =
true;
147 if (hasMismatchDCC[iDCC])
148 meQualitySummary.setBinContent(
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > chStatusToken
#define DEFINE_ECALDQM_WORKER(TYPE)
void producePlots(ProcessType) override
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
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 *)
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