1 #include "../interface/PresampleClient.h" 16 minChannelEntries_(0),
39 MESet& meQualitySummary(
MEs_.at(
"QualitySummary"));
41 MESet& meErrorsSummary(
MEs_.at(
"ErrorsSummary"));
46 MESet& meRMSMapAllByLumi(
MEs_.at(
"RMSMapAllByLumi"));
59 double maxEB(0.), minEB(0.), maxEE(0.), minEE(0.);
60 double rmsMaxEB(0.), rmsMaxEE(0.);
74 double entries(pItr->getBinEntries());
79 meQualitySummary.setBinContent(
id, doMask ?
kMUnknown : kUnknown);
80 meRMSMap.setBinContent(
id, -1.);
84 double mean(pItr->getBinContent());
91 meMean.fill(dccid,
mean);
92 meRMS.fill(dccid,
rms);
93 meRMSMap.setBinContent(
id,
rms);
94 meRMSMapAllByLumi.setBinContent(
id, rmsLS);
97 qItr->setBinContent(doMask ?
kMBad :
kBad);
98 meQualitySummary.setBinContent(
id, doMask ?
kMBad : kBad);
99 if(!doMask) meErrorsSummary.fill(
id);
103 meQualitySummary.setBinContent(
id, doMask ?
kMGood : kGood);
108 float chStatus( sChStatus.getBinContent(
id) );
115 if( meanLS > maxEB ) maxEB = meanLS;
116 if( meanLS < minEB ) minEB = meanLS;
117 if( rmsLS > rmsMaxEB ) rmsMaxEB = rmsLS;
120 if( meanLS > maxEE ) maxEE = meanLS;
121 if( meanLS < minEE ) minEE = meanLS;
122 if( rmsLS > rmsMaxEE ) rmsMaxEE = rmsLS;
129 MESet& meTrendMean(
MEs_.at(
"TrendMean"));
T getUntrackedParameter(std::string const &, T const &) const
void towerAverage_(MESet &, MESet const &, float)
#define DEFINE_ECALDQM_WORKER(TYPE)
edm::LuminosityBlockNumber_t iLumi
double getBinEntries() const
bool isForward(DetId const &)
static const int PEDESTAL_ONLINE_HIGH_GAIN_RMS_ERROR
const_iterator & toNextChannel()
void setParams(edm::ParameterSet const &) override
std::set< std::string > qualitySummaries_
StatusManager const * statusManager_
double getBinError() const
Abs< T >::type abs(const T &t)
static const int PEDESTAL_ONLINE_HIGH_GAIN_MEAN_ERROR
virtual void fill(DetId const &, double=1., double=1., double=1.)
double getBinContent() const
void producePlots(ProcessType) override
unsigned dccId(DetId const &)