CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBTestPulseClient.h
Go to the documentation of this file.
1 #ifndef EBTestPulseClient_H
2 #define EBTestPulseClient_H
3 
4 /*
5  * \file EBTestPulseClient.h
6  *
7  * \author G. Della Ricca
8  * \author F. Cossutti
9  *
10 */
11 
12 #include <vector>
13 #include <string>
14 
15 #include "TROOT.h"
16 #include "TProfile2D.h"
17 #include "TH1F.h"
18 
20 
22 
23 class MonitorElement;
24 class DQMStore;
25 #ifdef WITH_ECAL_COND_DB
27 class RunIOV;
28 class MonRunIOV;
29 #endif
30 
31 class EBTestPulseClient : public EBClient {
32 
33 friend class EBSummaryClient;
34 
35 public:
36 
39 
41 virtual ~EBTestPulseClient();
42 
44 void analyze(void);
45 
47 void beginJob(void);
48 
50 void endJob(void);
51 
53 void beginRun(void);
54 
56 void endRun(void);
57 
59 void setup(void);
60 
62 void cleanup(void);
63 
64 #ifdef WITH_ECAL_COND_DB
65 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
67 #endif
68 
70 inline int getEvtPerJob() { return ievt_; }
71 inline int getEvtPerRun() { return jevt_; }
72 
73 private:
74 
75 int ievt_;
76 int jevt_;
77 
78 bool cloneME_;
79 
80 bool verbose_;
81 bool debug_;
82 
84 
86 
87 std::vector<int> superModules_;
88 std::vector<int> MGPAGains_;
89 std::vector<int> MGPAGainsPN_;
90 
92 
93 TProfile2D* ha01_[36];
94 TProfile2D* ha02_[36];
95 TProfile2D* ha03_[36];
96 
97 TProfile2D* hs01_[36];
98 TProfile2D* hs02_[36];
99 TProfile2D* hs03_[36];
100 
104 
107 
111 
114 
118 
119 TProfile* i01_[36];
120 TProfile* i02_[36];
121 TProfile* i03_[36];
122 TProfile* i04_[36];
123 
124 // Quality check on crystals
125 
129 
130 // Quality check on PNs
131 
137 
138 };
139 
140 #endif
float pedPnDiscrepancyMean_[2]
TProfile * i02_[36]
MonitorElement * meg05_[36]
TProfile2D * ha02_[36]
void endJob(void)
EndJob.
void setup(void)
Setup.
void beginRun(void)
BeginRun.
TProfile2D * ha03_[36]
MonitorElement * meg03_[36]
MonitorElement * mea01_[36]
MonitorElement * me_hs03_[36]
MonitorElement * meg02_[36]
void beginJob(void)
BeginJob.
MonitorElement * mer05_[36]
void cleanup(void)
Cleanup.
MonitorElement * mea03_[36]
MonitorElement * mea02_[36]
EBTestPulseClient(const edm::ParameterSet &ps)
Constructor.
int getEvtPerRun()
Returns the number of processed events in this Run.
std::vector< int > MGPAGainsPN_
std::vector< int > MGPAGains_
TProfile2D * hs03_[36]
MonitorElement * meg04_[36]
TProfile * i01_[36]
virtual ~EBTestPulseClient()
Destructor.
TProfile2D * ha01_[36]
void endRun(void)
EndRun.
MonitorElement * me_hs02_[36]
TProfile2D * hs01_[36]
TProfile * i03_[36]
int getEvtPerJob()
Get Functions.
std::vector< int > superModules_
MonitorElement * mer04_[36]
tuple status
Definition: ntuplemaker.py:245
MonitorElement * me_hs01_[36]
MonitorElement * meg01_[36]
Definition: RunIOV.h:13
TProfile2D * hs02_[36]
void analyze(void)
Analyze.
TProfile * i04_[36]
Ecal Barrel Monitor Client mom class.