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  * $Date: 2010/09/13 12:43:25 $
8  * $Revision: 1.17 $
9  * \author M. Zanetti - INFN Padova
10  *
11 */
12 
21 
24 
25 #include <memory>
26 #include <iostream>
27 #include <fstream>
28 #include <string>
29 #include <vector>
30 #include <map>
31 #include <sys/time.h>
32 
34 
35 public:
36 
39 
41  virtual ~DQMEventInfo();
42 
43 protected:
44 
46  void analyze(const edm::Event& e, const edm::EventSetup& c);
47  void beginRun(const edm::Run& r, const edm::EventSetup& c) ;
49 
50 private:
51 
52 // double getUTCtime(timeval* a, timeval* b = NULL);
53 
55 
57  std::string eventInfoFolder_;
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:54
edm::ParameterSet parameters_
Definition: DQMEventInfo.h:56
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:57
MonitorElement * lumisecId_
Definition: DQMEventInfo.h:75
void beginRun(const edm::Run &r, const edm::EventSetup &c)
Definition: DQMEventInfo.cc:93
MonitorElement * runStartTimeStamp_
Definition: DQMEventInfo.h:73
DQMEventInfo(const edm::ParameterSet &ps)
Constructor.
Definition: DQMEventInfo.cc:28
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
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:90
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
Definition: Run.h:33