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  * \author G. Della Ricca
8  *
9 */
10 
11 #include <vector>
12 #include <string>
13 
14 #include "TROOT.h"
15 #include "TProfile2D.h"
16 #include "TH1F.h"
17 
19 
21 
22 class MonitorElement;
23 class DQMStore;
24 #ifdef WITH_ECAL_COND_DB
26 class RunIOV;
27 class MonRunIOV;
28 #endif
29 
30 class EBTimingClient : public EBClient {
31 
32 friend class EBSummaryClient;
33 
34 public:
35 
38 
40 virtual ~EBTimingClient();
41 
43 void analyze(void);
44 
46 void beginJob(void);
47 
49 void endJob(void);
50 
52 void beginRun(void);
53 
55 void endRun(void);
56 
58 void setup(void);
59 
61 void cleanup(void);
62 
63 #ifdef WITH_ECAL_COND_DB
64 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
66 #endif
67 
69 inline int getEvtPerJob() { return ievt_; }
70 inline int getEvtPerRun() { return jevt_; }
71 
72 private:
73 
74 int ievt_;
75 int jevt_;
76 
77 bool cloneME_;
78 
79 bool verbose_;
80 bool debug_;
81 
83 
85 
86 std::vector<int> superModules_;
87 
89 
92 
93 TProfile2D* h01_[36];
94 TH2F* h02_[36];
95 
97 
99 
101 
103 
106 
107 // Quality check on crystals, one per each gain
108 
112 
114 
115 };
116 
117 #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.