CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
XmasToDQMEventInfo.h
Go to the documentation of this file.
1 #ifndef XmasToDQMEventInfo_H
2 #define XmasToDQMEventInfo_H
3 
4 /*
5  * \file DQMEventInfo.h
6  *
7  * $Date: 2009/09/06 11:34:28 $
8  * $Revision: 1.2 $
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 
33 #include "ToDqm.h"
34 
36 
37 public:
38 
41 
43  virtual ~XmasToDQMEventInfo();
44 
45 protected:
46 
48  void analyze(const edm::Event& e, const edm::EventSetup& c);
49  void beginRun(const edm::Run& r, const edm::EventSetup& c) ;
50 
51 private:
52 
53  double getUTCtime(timeval* a, timeval* b = NULL);
54 
56 
59  timeval runStartTime_;
62  int pEvent_;
63 
73 
88 // MonitorElement * dqmPatch_; ///DQM patch version for this job
92 };
93 
94 #endif
MonitorElement * eventId_
UTC time of the run start.
MonitorElement * processTimeStamp_
The UTC time of the first event processed.
MonitorElement * lumisecId_
#define NULL
Definition: scimark2.h:8
void beginRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * processName_
Hostname of the local machine.
MonitorElement * errSummaryEtaPhi_
Subdetector-specific error summary (float)
MonitorElement * runId_
MonitorElement * runStartTimeStamp_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
virtual ~XmasToDQMEventInfo()
Destructor.
MonitorElement * processEvents_
Avg # of events in programmable window (default: 5 min)
MonitorElement * errSummary_
CMSSW version run for this job.
MonitorElement * cmsswVer_
Current working directory of the job.
double getUTCtime(timeval *a, timeval *b=NULL)
edm::ParameterSet parameters_
double b
Definition: hdecay.h:120
MonitorElement * hostName_
of event processed so far
MonitorElement * processId_
Number of collector updates (TBD)
MonitorElement * eventTimeStamp_
double a
Definition: hdecay.h:121
MonitorElement * workingDir_
DQM &quot;name&quot; of the job (eg, Hcal or DT)
MonitorElement * processStartTimeStamp_
The PID associated with this job.
MonitorElement * nUpdates_
These MEs are either static or updated upon each analyze() call.
XmasToDQMEventInfo(const edm::ParameterSet &ps)
Constructor.
MonitorElement * processEventRate_
Time elapsed since the last event.
MonitorElement * errSummarySegment_[10]
Subdetector-specific etaPhi summary (float)
MonitorElement * processLatency_
The UTC time of the last event.
Definition: Run.h:33