CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EETimingClient.h
Go to the documentation of this file.
1 #ifndef EETimingClient_H
2 #define EETimingClient_H
3 
4 /*
5  * \file EETimingClient.h
6  *
7  * $Date: 2010/02/14 14:35:46 $
8  * $Revision: 1.29 $
9  * \author G. Della Ricca
10  *
11 */
12 
13 #include <vector>
14 #include <string>
15 
16 #include "TROOT.h"
17 #include "TProfile2D.h"
18 #include "TH1F.h"
19 
21 
23 
24 class MonitorElement;
25 class DQMStore;
26 #ifdef WITH_ECAL_COND_DB
28 class RunIOV;
29 class MonRunIOV;
30 #endif
31 
32 class EETimingClient : public EEClient {
33 
34 friend class EESummaryClient;
35 
36 public:
37 
40 
42 virtual ~EETimingClient();
43 
45 void analyze(void);
46 
48 void beginJob(void);
49 
51 void endJob(void);
52 
54 void beginRun(void);
55 
57 void endRun(void);
58 
60 void setup(void);
61 
63 void cleanup(void);
64 
65 #ifdef WITH_ECAL_COND_DB
66 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
68 #endif
69 
71 inline int getEvtPerJob() { return ievt_; }
72 inline int getEvtPerRun() { return jevt_; }
73 
74 private:
75 
76 int ievt_;
77 int jevt_;
78 
79 bool cloneME_;
80 
81 bool verbose_;
82 bool debug_;
83 
84 std::string prefixME_;
85 
87 
88 std::vector<int> superModules_;
89 
91 
94 
95 TProfile2D* h01_[18];
96 TH2F* h02_[18];
97 
99 
101 
103 
105 
106 // Quality check on crystals, one per each gain
107 
111 
112 };
113 
114 #endif
void analyze(void)
Analyze.
MonitorElement * mea01_[18]
void setup(void)
Setup.
std::vector< int > superModules_
int getEvtPerRun()
Returns the number of processed events in this Run.
DQMStore * dqmStore_
void cleanup(void)
Cleanup.
TProfile2D * h01_[18]
Ecal Barrel Monitor Client mom class.
MonitorElement * mep01_[18]
MonitorElement * mer01_[18]
void beginJob(void)
BeginJob.
void endJob(void)
EndJob.
virtual ~EETimingClient()
Destructor.
EETimingClient(const edm::ParameterSet &ps)
Constructor.
void endRun(void)
EndRun.
void beginRun(void)
BeginRun.
int getEvtPerJob()
Get Functions.
MonitorElement * meg01_[18]
TH2F * h02_[18]
tuple status
Definition: ntuplemaker.py:245
MonitorElement * meh01_[18]
std::string prefixME_
Definition: RunIOV.h:13
MonitorElement * meh02_[18]