1 #include "../interface/TrigPrimClient.h"
16 errorFractionThreshold_(0.)
31 MESet& meTimingSummary(
MEs_.at(
"TimingSummary"));
32 MESet& meNonSingleSummary(
MEs_.at(
"NonSingleSummary"));
33 MESet& meEmulQualitySummary(
MEs_.at(
"EmulQualitySummary"));
43 bool doMask(meEmulQualitySummary.maskMatches(ttid, mask,
statusManager_));
45 float towerEntries(0.);
48 for(
int iBin(0); iBin < 6; iBin++){
49 float entries(sMatchedIndex.getBinContent(ttid, iBin + 1));
54 tMax = iBin == 0 ? -0.5 : iBin + 0.5;
58 meTimingSummary.setBinContent(ttid, tMax);
65 float nonsingleFraction(1. - nMax / towerEntries);
67 if(nonsingleFraction > 0.)
68 meNonSingleSummary.setBinContent(ttid, nonsingleFraction);
71 meEmulQualitySummary.setBinContent(ttid, doMask ?
kMBad :
kBad);
73 meEmulQualitySummary.setBinContent(ttid, doMask ?
kMGood :
kGood);
T getUntrackedParameter(std::string const &, T const &) const
static EcalTrigTowerDetId detIdFromDenseIndex(uint32_t di)
static const int PHYSICS_BAD_CHANNEL_WARNING
float errorFractionThreshold_
void producePlots(ProcessType) override
DEFINE_ECALDQM_WORKER(CalibrationSummaryClient)
void setParams(edm::ParameterSet const &) override
std::set< std::string > qualitySummaries_
StatusManager const * statusManager_