31 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: Constructor";
39 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"DTOfflineSummaryClients: analyzed " <<
nevents <<
" events";
45 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: BeginRun";
59 for(
int wheel = -2; wheel != 3; ++wheel) {
61 streams <<
"DT_Wheel" << wheel;
62 string meName = streams.str();
76 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: endJob";
85 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients] Analyze #Run: " <<
event.id().run()
86 <<
" #Event: " <<
event.id().event()
87 <<
" LS: " <<
event.luminosityBlock()
95 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
96 <<
"[DTOfflineSummaryClients]: End of LS transition" << endl;
103 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: endRun. Performin client operation";
109 for(
int ii = 0; ii != 5; ++ii) {
114 bool efficiencyFound =
true;
118 for(
int wheel=-2; wheel<=2; wheel++) {
121 str <<
"DT/05-ChamberEff/EfficiencyMap_All_W" << wheel;
123 if(segmentWheelSummary != 0) {
125 float nFailingChambers = 0.;
127 for(
int sector=1; sector<=12; sector++) {
130 double errorsum = 0.;
137 if(tmpefficiency == 0 || tmpvariance == 0){
142 meaneff += tmpefficiency/tmpvariance;
143 errorsum += 1./tmpvariance;
145 if(tmpefficiency < 0.2) nFailingChambers++;
147 LogTrace(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
148 <<
"Wheel: " << wheel <<
" Stat: " <<
station <<
" Sect: " << sector <<
" status: " << meaneff/errorsum << endl;
151 const double eff_result = meaneff/errorsum;
162 efficiencyFound =
false;
163 LogWarning(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
164 <<
" [DTOfflineSummaryClients] Segment Summary not found with name: " << str.str() << endl;
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
BeginRun.
MonitorElement * bookFloat(const char *name)
Book float.
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
DQM Client Diagnostic.
double getFloatValue(void) const
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
EndLumi.
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
MonitorElement * summaryReportMap
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)
MonitorElement * summaryReport
DTOfflineSummaryClients(const edm::ParameterSet &ps)
Constructor.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
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)
virtual ~DTOfflineSummaryClients()
Destructor.
Power< A, B >::type pow(const A &a, const B &b)
void setCurrentFolder(const std::string &fullpath)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.