32 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: Constructor";
39 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"DTOfflineSummaryClients: analyzed " <<
nevents <<
" events";
49 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
50 <<
"[DTOfflineSummaryClients]: End of LS transition" << endl;
56 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: end job. Performin client operation";
73 streams <<
"DT_Wheel" <<
wheel;
74 string meName = streams.str();
84 for(
int ii = 0;
ii != 5; ++
ii) {
93 str <<
"DT/05-ChamberEff/EfficiencyMap_All_W" <<
wheel;
95 if(segmentWheelSummary !=
nullptr) {
97 float nFailingChambers = 0.;
99 for(
int sector=1; sector<=12; sector++) {
102 double errorsum = 0.;
109 if(tmpefficiency == 0 || tmpvariance == 0){
114 meaneff += tmpefficiency/tmpvariance;
115 errorsum += 1./tmpvariance;
117 if(tmpefficiency < 0.2) nFailingChambers++;
119 LogTrace(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
120 <<
"Wheel: " << wheel <<
" Stat: " <<
station <<
" Sect: " << sector <<
" status: " << meaneff/errorsum << endl;
123 const double eff_result = meaneff/errorsum;
134 LogWarning(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
135 <<
" [DTOfflineSummaryClients] Segment Summary not found with name: " << str.str() << endl;
MonitorElement * get(const std::string &path)
~DTOfflineSummaryClients() override
Destructor.
double getFloatValue(void) const
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
EndJob.
void setCurrentFolder(const std::string &fullpath)
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
BeginRun.
MonitorElement * summaryReportMap
MonitorElement * book2D(Args &&...args)
double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
std::vector< MonitorElement * > theSummaryContents
double getBinContent(int binx) const
get content of bin (1-D)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
EndLumi.
MonitorElement * summaryReport
DTOfflineSummaryClients(const edm::ParameterSet &ps)
Constructor.
MonitorElement * bookFloat(Args &&...args)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
Power< A, B >::type pow(const A &a, const B &b)