CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EETrendClient.h
Go to the documentation of this file.
1 #ifndef EETrendClient_H
2 #define EETrendClient_H
3 
4 /*
5  * \file EETrendClient.h
6  *
7  * \author Dongwook Jang, Soon Yung Jun
8  *
9  */
10 
15 
16 #include "TProfile.h"
17 #include "TH1F.h"
18 #include "TObject.h"
19 
20 class MonitorElement;
21 class DQMStore;
22 
23 const int nHists_ = 8;
24 
26 
27  public:
28 
29  // Constructor
31 
32  // Destructor
33  virtual ~EETrendClient();
34 
35  protected:
36 
37  // Analyze
38  void analyze(const edm::Event& e, const edm::EventSetup& c);
39 
40  // BeginJob
41  void beginJob(void);
42 
43  // EndJob
44  void endJob(void);
45 
46  // BeginRun
47  void beginRun(const edm::Run & r, const edm::EventSetup & c);
48 
49  // EndRun
50  void endRun(const edm::Run & r, const edm::EventSetup & c);
51 
52  // Reset
53  void reset(void);
54 
55  // Setup
56  void setup(void);
57 
58  // Cleanup
59  void cleanup(void);
60 
61  // Update time check
62  void updateTime(void);
63 
64 
65  private:
66 
67  int ievt_;
68 
70 
72 
74 
75  bool mergeRuns_;
76 
77  bool verbose_;
78 
81 
84 
85  bool init_;
86 
90 
93 
94  double mean_[nHists_];
95  double rms_[nHists_];
96 
98  TObject* currentHist_[nHists_];
99 
100 };
101 
102 #endif
void endRun(const edm::Run &r, const edm::EventSetup &c)
void endJob(void)
void updateTime(void)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
double mean_[nHists_]
Definition: EETrendClient.h:94
void setup(void)
TObject * previousHist_[nHists_]
Definition: EETrendClient.h:97
DQMStore * dqmStore_
Definition: EETrendClient.h:69
void analyze(const edm::Event &e, const edm::EventSetup &c)
void beginJob(void)
void cleanup(void)
MonitorElement * sigmaHourly_[nHists_]
Definition: EETrendClient.h:83
std::string moduleNames_[nHists_]
Definition: EETrendClient.h:91
EETrendClient(const edm::ParameterSet &ps)
MonitorElement * meanMinutely_[nHists_]
Definition: EETrendClient.h:79
TObject * currentHist_[nHists_]
Definition: EETrendClient.h:98
void reset(void)
const int nHists_
Definition: EBTrendClient.h:23
virtual ~EETrendClient()
MonitorElement * meanHourly_[nHists_]
Definition: EETrendClient.h:82
double rms_[nHists_]
Definition: EETrendClient.h:95
MonitorElement * sigmaMinutely_[nHists_]
Definition: EETrendClient.h:80
std::string histTitles_[nHists_]
Definition: EETrendClient.h:92
std::string prefixME_
Definition: EETrendClient.h:71
Definition: Run.h:41