29 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: Constructor";
37 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"DTOfflineSummaryClients: analyzed " <<
nevents <<
" events";
43 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: BeginRun";
57 for(
int wheel = -2; wheel != 3; ++wheel) {
59 streams <<
"DT_Wheel" << wheel;
60 string meName = streams.str();
74 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: endJob";
83 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients] Analyze #Run: " <<
event.id().run()
84 <<
" #Event: " <<
event.id().event()
85 <<
" LS: " <<
event.luminosityBlock()
93 LogVerbatim(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
94 <<
"[DTOfflineSummaryClients]: End of LS transition" << endl;
101 LogVerbatim (
"DTDQM|DTMonitorClient|DTOfflineSummaryClients") <<
"[DTOfflineSummaryClients]: endRun. Performin client operation";
107 for(
int ii = 0;
ii != 5; ++
ii) {
113 for(
int wheel=-2; wheel<=2; wheel++) {
116 str <<
"DT/05-ChamberEff/EfficiencyMap_All_W" << wheel;
118 if(segmentWheelSummary != 0) {
120 float nFailingChambers = 0.;
122 for(
int sector=1; sector<=12; sector++) {
125 double errorsum = 0.;
132 if(tmpefficiency == 0 || tmpvariance == 0){
137 meaneff += tmpefficiency/tmpvariance;
138 errorsum += 1./tmpvariance;
140 if(tmpefficiency < 0.2) nFailingChambers++;
142 LogTrace(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
143 <<
"Wheel: " << wheel <<
" Stat: " <<
station <<
" Sect: " << sector <<
" status: " << meaneff/errorsum << endl;
146 const double eff_result = meaneff/errorsum;
157 LogWarning(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
158 <<
" [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.