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  * $Date: 2010/03/28 09:05:23 $
8  * $Revision: 1.3 $
9  * \author Dongwook Jang, Soon Yung Jun
10  *
11  */
12 
17 
18 #include "TProfile.h"
19 #include "TH1F.h"
20 #include "TObject.h"
21 
22 class MonitorElement;
23 class DQMStore;
24 
25 const int nHists_ = 8;
26 
28 
29  public:
30 
31  // Constructor
33 
34  // Destructor
35  virtual ~EETrendClient();
36 
37  protected:
38 
39  // Analyze
40  void analyze(const edm::Event& e, const edm::EventSetup& c);
41 
42  // BeginJob
43  void beginJob(void);
44 
45  // EndJob
46  void endJob(void);
47 
48  // BeginRun
49  void beginRun(const edm::Run & r, const edm::EventSetup & c);
50 
51  // EndRun
52  void endRun(const edm::Run & r, const edm::EventSetup & c);
53 
54  // Reset
55  void reset(void);
56 
57  // Setup
58  void setup(void);
59 
60  // Cleanup
61  void cleanup(void);
62 
63  // Update time check
64  void updateTime(void);
65 
66 
67  private:
68 
69  int ievt_;
70 
72 
73  std::string prefixME_;
74 
76 
77  bool mergeRuns_;
78 
79  bool verbose_;
80 
83 
86 
87  bool init_;
88 
92 
93  std::string moduleNames_[nHists_];
94  std::string histTitles_[nHists_];
95 
96  double mean_[nHists_];
97  double rms_[nHists_];
98 
101 
102 };
103 
104 #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:96
void setup(void)
TObject * previousHist_[nHists_]
Definition: EETrendClient.h:99
DQMStore * dqmStore_
Definition: EETrendClient.h:71
void analyze(const edm::Event &e, const edm::EventSetup &c)
void beginJob(void)
void cleanup(void)
MonitorElement * sigmaHourly_[nHists_]
Definition: EETrendClient.h:85
std::string moduleNames_[nHists_]
Definition: EETrendClient.h:93
EETrendClient(const edm::ParameterSet &ps)
MonitorElement * meanMinutely_[nHists_]
Definition: EETrendClient.h:81
TObject * currentHist_[nHists_]
void reset(void)
const int nHists_
Definition: EBTrendClient.h:25
virtual ~EETrendClient()
MonitorElement * meanHourly_[nHists_]
Definition: EETrendClient.h:84
double rms_[nHists_]
Definition: EETrendClient.h:97
MonitorElement * sigmaMinutely_[nHists_]
Definition: EETrendClient.h:82
std::string histTitles_[nHists_]
Definition: EETrendClient.h:94
std::string prefixME_
Definition: EETrendClient.h:73
Definition: Run.h:33