CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMEventInfo.h
Go to the documentation of this file.
1 #ifndef DQMEventInfo_H
2 #define DQMEventInfo_H
3 
4 /*
5  * \file DQMEventInfo.h
6  *
7  * \author M. Zanetti - INFN Padova
8  *
9 */
10 
19 
23 
24 #include <memory>
25 #include <iostream>
26 #include <fstream>
27 #include <string>
28 #include <vector>
29 #include <map>
30 #include <sys/time.h>
31 
33 
34 public:
35 
38 
40  virtual ~DQMEventInfo();
41 
42 protected:
43 
45  void analyze(const edm::Event& e, const edm::EventSetup& c);
46  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
48 
49 private:
50 
51 // double getUTCtime(timeval* a, timeval* b = NULL);
52 
54 
58 
59 // timeval currentTime_, lastUpdateTime_, lastAvgTime_;
60 // timeval runStartTime_;
61 // float evtRateWindow_;
63  double runStartTime_;
65  int64_t evtRateCount_;
66  int64_t pEvent_;
67 
77 
96 };
97 
98 #endif
double evtRateWindow_
Definition: DQMEventInfo.h:64
double currentTime_
Definition: DQMEventInfo.h:62
MonitorElement * hostName_
of event processed so far
Definition: DQMEventInfo.h:88
MonitorElement * workingDir_
DQM &quot;name&quot; of the job (eg, Hcal or DT)
Definition: DQMEventInfo.h:90
double lastUpdateTime_
Definition: DQMEventInfo.h:62
MonitorElement * eventTimeStamp_
Definition: DQMEventInfo.h:76
DQMStore * dbe_
Definition: DQMEventInfo.h:53
edm::ParameterSet parameters_
Definition: DQMEventInfo.h:55
MonitorElement * processId_
Number of collector updates (TBD)
Definition: DQMEventInfo.h:82
MonitorElement * processStartTimeStamp_
The PID associated with this job.
Definition: DQMEventInfo.h:83
int64_t pEvent_
Definition: DQMEventInfo.h:66
MonitorElement * errSummaryEtaPhi_
Subdetector-specific error summary (float)
Definition: DQMEventInfo.h:94
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * cmsswVer_
Current working directory of the job.
Definition: DQMEventInfo.h:91
MonitorElement * eventId_
UTC time of the run start.
Definition: DQMEventInfo.h:74
std::string eventInfoFolder_
Definition: DQMEventInfo.h:56
MonitorElement * lumisecId_
Definition: DQMEventInfo.h:75
MonitorElement * runStartTimeStamp_
Definition: DQMEventInfo.h:73
DQMEventInfo(const edm::ParameterSet &ps)
Constructor.
Definition: DQMEventInfo.cc:24
double lastAvgTime_
Definition: DQMEventInfo.h:62
MonitorElement * processEvents_
Avg # of events in programmable window (default: 5 min)
Definition: DQMEventInfo.h:87
MonitorElement * processLatency_
The UTC time of the last event.
Definition: DQMEventInfo.h:85
MonitorElement * processName_
Hostname of the local machine.
Definition: DQMEventInfo.h:89
MonitorElement * errSummary_
DQM patch version for this job.
Definition: DQMEventInfo.h:93
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMEventInfo.cc:47
int64_t evtRateCount_
Definition: DQMEventInfo.h:65
MonitorElement * runId_
Definition: DQMEventInfo.h:72
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
Definition: DQMEventInfo.h:81
MonitorElement * processEventRate_
Time elapsed since the last event.
Definition: DQMEventInfo.h:86
virtual ~DQMEventInfo()
Destructor.
Definition: DQMEventInfo.cc:44
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
double runStartTime_
Definition: DQMEventInfo.h:63
MonitorElement * dqmPatch_
CMSSW version run for this job.
Definition: DQMEventInfo.h:92
MonitorElement * errSummarySegment_[10]
Subdetector-specific etaPhi summary (float)
Definition: DQMEventInfo.h:95
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
Definition: DQMEventInfo.h:84
std::string subsystemname_
Definition: DQMEventInfo.h:57
Definition: Run.h:43