26 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients") <<
"[DTSummaryClients]: Constructor";
32 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients") <<
"DTSummaryClients: analyzed " <<
nevents <<
" events";
36 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients") <<
"[DTSummaryClients]: endJob";
58 for (
int wheel = -2; wheel != 3; ++wheel) {
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) {
87 for (
int wheel = 1; wheel != 6; ++wheel) {
89 for (
int sect = 1; sect != 13; ++sect) {
94 if (nDisablesROS == 12) {
100 if (nDisabledFED == 5) {
106 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients")
107 <<
"Data Integrity Summary not found with name: DT/00-DataIntegrity/DataIntegritySummary" << endl;
110 double totalStatus = 0;
112 bool occupancyFound =
true;
116 for (
int wheel = -2; wheel <= 2; wheel++) {
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 LogVerbatim(
"DTDQM|DTMonitorClient|DTSummaryClients")
144 <<
" Wheel Occupancy Summary not found with name: " << str.str() << endl;
148 if (occupancyFound && !noDTData)
DTSummaryClients(const edm::ParameterSet &ps)
Constructor.
Log< level::Info, true > LogVerbatim
std::vector< MonitorElement * > theSummaryContents
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
virtual void setCurrentFolder(std::string const &fullpath)
~DTSummaryClients() override
Destructor.
MonitorElement * summaryReport
MonitorElement * summaryReportMap
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
virtual MonitorElement * get(std::string const &fullpath) const
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, FUNC onbooking=NOOP())
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)