28 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: Constructor";
34 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
35 <<
"DTOfflineSummaryClients: analyzed " <<
nevents <<
" events";
44 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
45 <<
"[DTOfflineSummaryClients]: End of LS transition" << endl;
49 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
50 <<
"[DTOfflineSummaryClients]: end job. Performin client operation";
78 for (
int ii = 0;
ii != 5; ++
ii) {
87 str <<
"DT/05-ChamberEff/EfficiencyMap_All_W" <<
wheel;
89 if (segmentWheelSummary !=
nullptr) {
90 float nFailingChambers = 0.;
102 if (tmpefficiency == 0 || tmpvariance == 0) {
107 meaneff += tmpefficiency / tmpvariance;
108 errorsum += 1. / tmpvariance;
110 if (tmpefficiency < 0.2)
113 LogTrace(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
114 <<
"Wheel: " <<
wheel <<
" Stat: " <<
station <<
" Sect: " <<
sector <<
" status: " << meaneff / errorsum
118 const double eff_result = meaneff / errorsum;
120 if (eff_result > 0.7)
122 else if (eff_result < 0.7 && eff_result > 0.5)
124 else if (eff_result < 0.5 && eff_result > 0.3)
126 else if (eff_result < 0.3 && eff_result > 0.)
132 LogWarning(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
133 <<
" [DTOfflineSummaryClients] Segment Summary not found with name: " <<
str.str() << endl;
Log< level::Info, true > LogVerbatim
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
virtual void setCurrentFolder(std::string const &fullpath)
std::vector< MonitorElement * > theSummaryContents
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
virtual double getFloatValue() const
~DTOfflineSummaryClients() override
Destructor.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
EndJob.
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
BeginRun.
MonitorElement * summaryReportMap
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
virtual MonitorElement * get(std::string const &fullpath) const
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
EndLumi.
MonitorElement * summaryReport
virtual double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
DTOfflineSummaryClients(const edm::ParameterSet &ps)
Constructor.
Log< level::Warning, false > LogWarning
Power< A, B >::type pow(const A &a, const B &b)
virtual double getBinContent(int binx) const
get content of bin (1-D)
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)