15 errFractionThreshold_(0.)
34 MESet& meQualitySummary(
MEs_.at(
"QualitySummary"));
42 for(
unsigned iDCC(0); iDCC <
nDCC; ++iDCC){
44 for(
unsigned iPN(0); iPN < 10; ++iPN){
51 bool doMask(meQualitySummary.maskMatches(
id, mask,
statusManager_));
53 float entries(sOccupancy.getBinContent(
id));
55 float chid(sMEMChId.getBinContent(
id));
56 float gain(sMEMGain.getBinContent(
id));
58 float blocksize(sMEMBlockSize.getBinContent(
id));
59 float towerid(sMEMTowerId.getBinContent(
id));
61 if(entries +
gain + chid + blocksize + towerid < 1.){
66 float chErr((
gain + chid + blocksize + towerid) / (entries +
gain + chid + blocksize + towerid));
69 meQualitySummary.setBinContent(
id, doMask ?
kMBad :
kBad);
71 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