CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBTrendClient.h
Go to the documentation of this file.
1 #ifndef EBTrendClient_H
2 #define EBTrendClient_H
3 
4 /*
5  * \file EBTrendClient.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_ = 6;
26 
28 
29  public:
30 
31  // Constructor
33 
34  // Destructor
35  virtual ~EBTrendClient();
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 
74 
76 
77  bool mergeRuns_;
78 
79  bool verbose_;
80 
83 
86 
87  bool init_;
88 
92 
95 
96  double mean_[nHists_];
97  double rms_[nHists_];
98 
101 
102 };
103 
104 #endif
TObject * previousHist_[nHists_]
Definition: EBTrendClient.h:99
void reset(void)
std::string histTitles_[nHists_]
Definition: EBTrendClient.h:94
void endRun(const edm::Run &r, const edm::EventSetup &c)
void endJob(void)
MonitorElement * sigmaHourly_[nHists_]
Definition: EBTrendClient.h:85
std::string prefixME_
Definition: EBTrendClient.h:73
void beginJob(void)
TObject * currentHist_[nHists_]
MonitorElement * sigmaMinutely_[nHists_]
Definition: EBTrendClient.h:82
void analyze(const edm::Event &e, const edm::EventSetup &c)
virtual ~EBTrendClient()
void setup(void)
void updateTime(void)
double mean_[nHists_]
Definition: EBTrendClient.h:96
EBTrendClient(const edm::ParameterSet &ps)
MonitorElement * meanHourly_[nHists_]
Definition: EBTrendClient.h:84
double rms_[nHists_]
Definition: EBTrendClient.h:97
void beginRun(const edm::Run &r, const edm::EventSetup &c)
void cleanup(void)
const int nHists_
Definition: EBTrendClient.h:25
std::string moduleNames_[nHists_]
Definition: EBTrendClient.h:93
MonitorElement * meanMinutely_[nHists_]
Definition: EBTrendClient.h:81
DQMStore * dqmStore_
Definition: EBTrendClient.h:71
Definition: Run.h:36