CMS 3D CMS Logo

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 
22 
23 #include <memory>
24 #include <iostream>
25 #include <fstream>
26 #include <string>
27 #include <vector>
28 #include <map>
29 #include <sys/time.h>
30 
31 class DQMEventInfo : public DQMEDAnalyzer {
32 public:
35 
37  ~DQMEventInfo() override;
38 
39 protected:
41  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
42  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
43 
44 private:
45  // double getUTCtime(timeval* a, timeval* b = NULL);
46 
49 
50  // timeval currentTime_, lastUpdateTime_, lastAvgTime_;
51  // timeval runStartTime_;
52  // float evtRateWindow_;
54  double runStartTime_;
56  int64_t evtRateCount_;
57  int64_t pEvent_;
58 
68 
87 };
88 
89 #endif
double evtRateWindow_
Definition: DQMEventInfo.h:55
double currentTime_
Definition: DQMEventInfo.h:53
MonitorElement * hostName_
of event processed so far
Definition: DQMEventInfo.h:79
MonitorElement * workingDir_
DQM "name" of the job (eg, Hcal or DT)
Definition: DQMEventInfo.h:81
double lastUpdateTime_
Definition: DQMEventInfo.h:53
MonitorElement * eventTimeStamp_
Definition: DQMEventInfo.h:67
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * processId_
Number of collector updates (TBD)
Definition: DQMEventInfo.h:73
MonitorElement * processStartTimeStamp_
The PID associated with this job.
Definition: DQMEventInfo.h:74
int64_t pEvent_
Definition: DQMEventInfo.h:57
MonitorElement * errSummaryEtaPhi_
Subdetector-specific error summary (float)
Definition: DQMEventInfo.h:85
MonitorElement * cmsswVer_
Current working directory of the job.
Definition: DQMEventInfo.h:82
MonitorElement * eventId_
UTC time of the run start.
Definition: DQMEventInfo.h:65
std::string eventInfoFolder_
Definition: DQMEventInfo.h:47
MonitorElement * lumisecId_
Definition: DQMEventInfo.h:66
MonitorElement * runStartTimeStamp_
Definition: DQMEventInfo.h:64
DQMEventInfo(const edm::ParameterSet &ps)
Constructor.
Definition: DQMEventInfo.cc:25
double lastAvgTime_
Definition: DQMEventInfo.h:53
MonitorElement * processEvents_
Avg # of events in programmable window (default: 5 min)
Definition: DQMEventInfo.h:78
MonitorElement * processLatency_
The UTC time of the last event.
Definition: DQMEventInfo.h:76
MonitorElement * processName_
Hostname of the local machine.
Definition: DQMEventInfo.h:80
MonitorElement * errSummary_
DQM patch version for this job.
Definition: DQMEventInfo.h:84
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DQMEventInfo.cc:45
~DQMEventInfo() override
Destructor.
int64_t evtRateCount_
Definition: DQMEventInfo.h:56
MonitorElement * runId_
Definition: DQMEventInfo.h:63
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
Definition: DQMEventInfo.h:72
MonitorElement * processEventRate_
Time elapsed since the last event.
Definition: DQMEventInfo.h:77
double runStartTime_
Definition: DQMEventInfo.h:54
MonitorElement * dqmPatch_
CMSSW version run for this job.
Definition: DQMEventInfo.h:83
MonitorElement * errSummarySegment_[10]
Subdetector-specific etaPhi summary (float)
Definition: DQMEventInfo.h:86
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
Definition: DQMEventInfo.h:75
std::string subsystemname_
Definition: DQMEventInfo.h:48
Definition: Run.h:45