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) {
115 for(
int wheel=-2; wheel<=2; wheel++) {
118 str <<
"DT/05-ChamberEff/EfficiencyMap_All_W" << wheel;
120 if(segmentWheelSummary != 0) {
122 float nFailingChambers = 0.;
124 for(
int sector=1; sector<=12; sector++) {
127 double errorsum = 0.;
134 if(tmpefficiency == 0 || tmpvariance == 0){
139 meaneff += tmpefficiency/tmpvariance;
140 errorsum += 1./tmpvariance;
142 if(tmpefficiency < 0.2) nFailingChambers++;
144 LogTrace(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
145 <<
"Wheel: " << wheel <<
" Stat: " <<
station <<
" Sect: " << sector <<
" status: " << meaneff/errorsum << endl;
148 const double eff_result = meaneff/errorsum;
159 LogWarning(
"DTDQM|DTMonitorClient|DTOfflineSummaryClients")
160 <<
" [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.