26 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients") <<
"[DTSummaryClients]: Constructor";
32 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients") <<
"DTSummaryClients: analyzed " <<
nevents <<
" events";
36 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients") <<
"[DTSummaryClients]: endJob";
60 streams <<
"DT_Wheel" <<
wheel;
61 string meName = streams.str();
70 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients")
71 <<
"[DTSummaryClients]: End of LS transition, performing the DQM client operation" << endl;
76 for (
int ii = 0;
ii != 5; ++
ii) {
80 bool noDTData =
false;
84 MonitorElement* dataIntegritySummary = igetter.
get(
"DT/00-DataIntegrity/DataIntegritySummary");
85 if (dataIntegritySummary !=
nullptr) {
89 for (
int sect = 1; sect != 13; ++sect) {
94 if (nDisablesROS == 12) {
100 if (nDisabledFED == 5) {
106 LogError(
"DTDQM|DTMonitorClient|DTSummaryClients")
107 <<
"Data Integrity Summary not found with name: DT/00-DataIntegrity/DataIntegritySummary" << endl;
110 double totalStatus = 0;
112 bool occupancyFound =
true;
119 str <<
"DT/01-Digi/OccupancySummary_W" <<
wheel;
121 if (wheelOccupancySummary !=
nullptr) {
122 int nFailingChambers = 0;
123 for (
int sector = 1; sector <= 12; sector++) {
126 LogTrace(
"DTDQM|DTMonitorClient|DTSummaryClients")
127 <<
"Wheel: " << wheel <<
" Stat: " <<
station <<
" Sect: " << sector <<
" status: " << chamberStatus
129 if (chamberStatus != 4) {
134 LogTrace(
"DTDQM|DTMonitorClient|DTSummaryClients")
135 <<
" sector (" << sector
140 totalStatus += (48. - nFailingChambers) / 48.;
142 occupancyFound =
false;
143 LogError(
"DTDQM|DTMonitorClient|DTSummaryClients")
144 <<
" Wheel Occupancy Summary not found with name: " << str.str() << endl;
148 if (occupancyFound && !noDTData)
DTSummaryClients(const edm::ParameterSet &ps)
Constructor.
std::vector< MonitorElement * > theSummaryContents
MonitorElement * bookFloat(TString const &name)
~DTSummaryClients() override
Destructor.
void setCurrentFolder(std::string const &fullpath)
MonitorElement * summaryReport
MonitorElement * summaryReportMap
virtual void Reset()
reset ME (ie. contents, errors, etc)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
virtual double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * get(std::string const &path)
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)