1 #include "../interface/IntegrityClient.h"
11 errFractionThreshold_(0.)
33 MESet& meQualitySummary(
MEs_.at(
"QualitySummary"));
48 DetId id(qItr->getId());
52 float entries(occItr->getBinContent());
54 float gain(sGain.getBinContent(
id));
55 float chid(sChId.getBinContent(
id));
56 float gainswitch(sGainSwitch.getBinContent(
id));
58 float towerid(sTowerId.getBinContent(
id));
59 float blocksize(sBlockSize.getBinContent(
id));
61 if(
entries + gain + chid + gainswitch + towerid + blocksize < 1.){
63 meQualitySummary.setBinContent(
id, doMask ?
kMUnknown : kUnknown);
67 float chErr((gain + chid + gainswitch + towerid + blocksize) / (
entries + gain + chid + gainswitch + towerid + blocksize));
70 qItr->setBinContent(doMask ?
kMBad :
kBad);
71 meQualitySummary.setBinContent(
id, doMask ?
kMBad : kBad);
75 meQualitySummary.setBinContent(
id, doMask ?
kMGood : kGood);
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_ECALDQM_WORKER(TYPE)
void producePlots(ProcessType) override
static const int TT_SIZE_ERROR
static const int CH_GAIN_SWITCH_ERROR
const_iterator & toNextChannel()
void setParams(edm::ParameterSet const &) override
std::set< std::string > qualitySummaries_
StatusManager const * statusManager_
static const int CH_GAIN_ZERO_ERROR
float errFractionThreshold_
static const int TT_ID_ERROR
static const int CH_ID_ERROR