24 MESet& meQualitySummary(
MEs_.at(
"QualitySummary"));
32 for (
unsigned iDCC(0); iDCC <
nDCC; ++iDCC) {
35 for (
unsigned iPN(0); iPN < 10; ++iPN) {
44 bool doMask(meQualitySummary.maskMatches(
id, mask,
statusManager_));
46 float entries(sOccupancy.getBinContent(
id));
48 float chid(sMEMChId.getBinContent(
id));
49 float gain(sMEMGain.getBinContent(
id));
51 float blocksize(sMEMBlockSize.getBinContent(
id));
52 float towerid(sMEMTowerId.getBinContent(
id));
54 if (entries +
gain + chid + blocksize + towerid < 1.) {
59 float chErr((
gain + chid + blocksize + towerid) / (entries +
gain + chid + blocksize + towerid));
62 meQualitySummary.setBinContent(
id, doMask ?
kMBad :
kBad);
64 meQualitySummary.setBinContent(
id, doMask ?
kMGood :
kGood);
unsigned memDCCIndex(unsigned)
T getUntrackedParameter(std::string const &, T const &) const
void producePlots(ProcessType) override
void setParams(edm::ParameterSet const &) override
#define DEFINE_ECALDQM_WORKER(TYPE)
static const int TT_SIZE_ERROR
std::set< std::string > qualitySummaries_
StatusManager const * statusManager_
static const int CH_GAIN_ZERO_ERROR
static const int TT_ID_ERROR
float errFractionThreshold_
static const int CH_ID_ERROR