CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBTimingClient.h
Go to the documentation of this file.
1 #ifndef EBTimingClient_H
2 #define EBTimingClient_H
3 
4 /*
5  * \file EBTimingClient.h
6  *
7  * $Date: 2012/04/27 13:45:58 $
8  * $Revision: 1.38 $
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 EBTimingClient : public EBClient {
33 
34 friend class EBSummaryClient;
35 
36 public:
37 
40 
42 virtual ~EBTimingClient();
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_[36];
96 TH2F* h02_[36];
97 
99 
101 
103 
105 
108 
109 // Quality check on crystals, one per each gain
110 
114 
116 
117 };
118 
119 #endif
void analyze(void)
Analyze.
MonitorElement * mep01_[36]
MonitorElement * mer01_[36]
std::vector< int > superModules_
int getEvtPerRun()
Returns the number of processed events in this Run.
void endJob(void)
EndJob.
MonitorElement * meTimeSummaryMapProjPhi_
TProfile2D * h01_[36]
std::string prefixME_
MonitorElement * meh01_[36]
void beginRun(void)
BeginRun.
EBTimingClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meh02_[36]
DQMStore * dqmStore_
MonitorElement * meTimeSummaryMapProjEta_
TH2F * h02_[36]
MonitorElement * meg01_[36]
int getEvtPerJob()
Get Functions.
virtual ~EBTimingClient()
Destructor.
MonitorElement * mea01_[36]
tuple status
Definition: ntuplemaker.py:245
void cleanup(void)
Cleanup.
Definition: RunIOV.h:13
void endRun(void)
EndRun.
Ecal Barrel Monitor Client mom class.
void beginJob(void)
BeginJob.
void setup(void)
Setup.