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;
47  void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) ;
49 
50 private:
51 
52 // double getUTCtime(timeval* a, timeval* b = NULL);
53 
55 
59 
60 // timeval currentTime_, lastUpdateTime_, lastAvgTime_;
61 // timeval runStartTime_;
62 // float evtRateWindow_;
64  double runStartTime_;
66  int64_t evtRateCount_;
67  int64_t pEvent_;
68 
78 
97 };
98 
99 #endif
double evtRateWindow_
Definition: DQMEventInfo.h:65
double currentTime_
Definition: DQMEventInfo.h:63
MonitorElement * hostName_
of event processed so far
Definition: DQMEventInfo.h:89
MonitorElement * workingDir_
DQM &quot;name&quot; of the job (eg, Hcal or DT)
Definition: DQMEventInfo.h:91
double lastUpdateTime_
Definition: DQMEventInfo.h:63
MonitorElement * eventTimeStamp_
Definition: DQMEventInfo.h:77
DQMStore * dbe_
Definition: DQMEventInfo.h:54
edm::ParameterSet parameters_
Definition: DQMEventInfo.h:56
MonitorElement * processId_
Number of collector updates (TBD)
Definition: DQMEventInfo.h:83
MonitorElement * processStartTimeStamp_
The PID associated with this job.
Definition: DQMEventInfo.h:84
int64_t pEvent_
Definition: DQMEventInfo.h:67
MonitorElement * errSummaryEtaPhi_
Subdetector-specific error summary (float)
Definition: DQMEventInfo.h:95
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * cmsswVer_
Current working directory of the job.
Definition: DQMEventInfo.h:92
MonitorElement * eventId_
UTC time of the run start.
Definition: DQMEventInfo.h:75
std::string eventInfoFolder_
Definition: DQMEventInfo.h:57
MonitorElement * lumisecId_
Definition: DQMEventInfo.h:76
MonitorElement * runStartTimeStamp_
Definition: DQMEventInfo.h:74
DQMEventInfo(const edm::ParameterSet &ps)
Constructor.
Definition: DQMEventInfo.cc:25
double lastAvgTime_
Definition: DQMEventInfo.h:63
MonitorElement * processEvents_
Avg # of events in programmable window (default: 5 min)
Definition: DQMEventInfo.h:88
MonitorElement * processLatency_
The UTC time of the last event.
Definition: DQMEventInfo.h:86
MonitorElement * processName_
Hostname of the local machine.
Definition: DQMEventInfo.h:90
MonitorElement * errSummary_
DQM patch version for this job.
Definition: DQMEventInfo.h:94
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMEventInfo.cc:48
int64_t evtRateCount_
Definition: DQMEventInfo.h:66
MonitorElement * runId_
Definition: DQMEventInfo.h:73
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
Definition: DQMEventInfo.h:82
MonitorElement * processEventRate_
Time elapsed since the last event.
Definition: DQMEventInfo.h:87
virtual ~DQMEventInfo()
Destructor.
Definition: DQMEventInfo.cc:45
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
double runStartTime_
Definition: DQMEventInfo.h:64
MonitorElement * dqmPatch_
CMSSW version run for this job.
Definition: DQMEventInfo.h:93
MonitorElement * errSummarySegment_[10]
Subdetector-specific etaPhi summary (float)
Definition: DQMEventInfo.h:96
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
Definition: DQMEventInfo.h:85
std::string subsystemname_
Definition: DQMEventInfo.h:58
Definition: Run.h:41
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c)