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  * \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_ = 6;
24 
26 
27  public:
28 
29  // Constructor
31 
32  // Destructor
33  virtual ~EBTrendClient();
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
TObject * previousHist_[nHists_]
Definition: EBTrendClient.h:97
void reset(void)
std::string histTitles_[nHists_]
Definition: EBTrendClient.h:92
void endRun(const edm::Run &r, const edm::EventSetup &c)
void endJob(void)
MonitorElement * sigmaHourly_[nHists_]
Definition: EBTrendClient.h:83
std::string prefixME_
Definition: EBTrendClient.h:71
void beginJob(void)
TObject * currentHist_[nHists_]
Definition: EBTrendClient.h:98
MonitorElement * sigmaMinutely_[nHists_]
Definition: EBTrendClient.h:80
void analyze(const edm::Event &e, const edm::EventSetup &c)
virtual ~EBTrendClient()
void setup(void)
void updateTime(void)
double mean_[nHists_]
Definition: EBTrendClient.h:94
EBTrendClient(const edm::ParameterSet &ps)
MonitorElement * meanHourly_[nHists_]
Definition: EBTrendClient.h:82
double rms_[nHists_]
Definition: EBTrendClient.h:95
void beginRun(const edm::Run &r, const edm::EventSetup &c)
void cleanup(void)
const int nHists_
Definition: EBTrendClient.h:23
std::string moduleNames_[nHists_]
Definition: EBTrendClient.h:91
MonitorElement * meanMinutely_[nHists_]
Definition: EBTrendClient.h:79
DQMStore * dqmStore_
Definition: EBTrendClient.h:69
Definition: Run.h:41