CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBLaserClient.h
Go to the documentation of this file.
1 #ifndef EBLaserClient_H
2 #define EBLaserClient_H
3 
4 /*
5  * \file EBLaserClient.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 EBLaserClient : public EBClient {
31 
32 friend class EBSummaryClient;
33 
34 public:
35 
38 
40 virtual ~EBLaserClient();
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 std::vector<int> laserWavelengths_;
88 
90 
91 TProfile2D* h01_[36];
92 TProfile2D* h02_[36];
93 TProfile2D* h03_[36];
94 TProfile2D* h04_[36];
95 TProfile2D* h05_[36];
96 TProfile2D* h06_[36];
97 TProfile2D* h07_[36];
98 TProfile2D* h08_[36];
99 
100 TProfile2D* h09_[36];
101 TProfile2D* h10_[36];
102 TProfile2D* h11_[36];
103 TProfile2D* h12_[36];
104 
105 TProfile2D* hs01_[36];
106 TProfile2D* hs02_[36];
107 TProfile2D* hs03_[36];
108 TProfile2D* hs04_[36];
109 
114 
123 
128 
133 
138 
143 
148 
157 
166 
167 TProfile* i01_[36];
168 TProfile* i02_[36];
169 TProfile* i03_[36];
170 TProfile* i04_[36];
171 TProfile* i05_[36];
172 TProfile* i06_[36];
173 TProfile* i07_[36];
174 TProfile* i08_[36];
175 TProfile* i09_[36];
176 TProfile* i10_[36];
177 TProfile* i11_[36];
178 TProfile* i12_[36];
179 TProfile* i13_[36];
180 TProfile* i14_[36];
181 TProfile* i15_[36];
182 TProfile* i16_[36];
183 
184 // Quality check on crystals
185 
189 
190 // Quality check on PNs
191 
197 
198 };
199 
200 #endif
MonitorElement * mea02_[36]
MonitorElement * metav02_[36]
MonitorElement * meg12_[36]
MonitorElement * me_hs03_[36]
MonitorElement * meg09_[36]
void analyze(void)
Analyze.
TProfile2D * h10_[36]
MonitorElement * me_hs06_[36]
MonitorElement * mepnprms06_[36]
float pedPnDiscrepancyMean_[2]
void beginRun(void)
BeginRun.
MonitorElement * meg07_[36]
MonitorElement * mepnprms01_[36]
TProfile * i09_[36]
MonitorElement * meg04_[36]
TProfile2D * h08_[36]
Definition: EBLaserClient.h:98
TProfile2D * hs03_[36]
MonitorElement * metav04_[36]
TProfile * i04_[36]
MonitorElement * met02_[36]
TProfile * i15_[36]
TProfile * i13_[36]
float percentVariation_
TProfile2D * h11_[36]
void beginJob(void)
BeginJob.
MonitorElement * metav01_[36]
MonitorElement * meg02_[36]
MonitorElement * mepnprms03_[36]
MonitorElement * mepnprms02_[36]
MonitorElement * mepnprms08_[36]
TProfile2D * h06_[36]
Definition: EBLaserClient.h:96
MonitorElement * me_hs02_[36]
std::vector< int > laserWavelengths_
Definition: EBLaserClient.h:87
float amplitudeThresholdPnG01_
TProfile2D * h07_[36]
Definition: EBLaserClient.h:97
MonitorElement * metrms01_[36]
MonitorElement * met04_[36]
void endRun(void)
EndRun.
TProfile * i01_[36]
TProfile2D * hs02_[36]
MonitorElement * meg06_[36]
MonitorElement * me_hs05_[36]
float amplitudeThreshold_
MonitorElement * meg10_[36]
TProfile * i06_[36]
TProfile * i12_[36]
float pedPnRMSThreshold_[2]
MonitorElement * metrms03_[36]
float rmsThresholdRelative_
MonitorElement * me_hs08_[36]
TProfile2D * h01_[36]
Definition: EBLaserClient.h:91
MonitorElement * metav03_[36]
std::string prefixME_
Definition: EBLaserClient.h:82
MonitorElement * mea04_[36]
MonitorElement * metrms02_[36]
TProfile2D * h03_[36]
Definition: EBLaserClient.h:93
void cleanup(void)
Cleanup.
virtual ~EBLaserClient()
Destructor.
MonitorElement * met03_[36]
void setup(void)
Setup.
TProfile * i02_[36]
EBLaserClient(const edm::ParameterSet &ps)
Constructor.
TProfile2D * h05_[36]
Definition: EBLaserClient.h:95
MonitorElement * meg08_[36]
TProfile2D * h04_[36]
Definition: EBLaserClient.h:94
TProfile * i05_[36]
MonitorElement * mepnprms04_[36]
int getEvtPerJob()
Get Functions.
Definition: EBLaserClient.h:69
MonitorElement * meaopn04_[36]
MonitorElement * meaopn01_[36]
TProfile2D * hs01_[36]
std::vector< int > superModules_
Definition: EBLaserClient.h:86
MonitorElement * me_hs07_[36]
MonitorElement * mepnprms07_[36]
MonitorElement * meg11_[36]
MonitorElement * mea01_[36]
MonitorElement * mea03_[36]
MonitorElement * meg05_[36]
TProfile * i08_[36]
MonitorElement * meg01_[36]
TProfile2D * hs04_[36]
TProfile2D * h12_[36]
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition: EBLaserClient.h:70
float amplitudeThresholdPnG16_
TProfile2D * h09_[36]
TProfile * i07_[36]
MonitorElement * me_hs04_[36]
MonitorElement * metrms04_[36]
float pedPnExpectedMean_[2]
void endJob(void)
EndJob.
TProfile * i03_[36]
DQMStore * dqmStore_
Definition: EBLaserClient.h:89
MonitorElement * me_hs01_[36]
MonitorElement * meg03_[36]
tuple status
Definition: ntuplemaker.py:245
Definition: RunIOV.h:13
MonitorElement * meaopn02_[36]
TProfile * i14_[36]
MonitorElement * meaopn03_[36]
TProfile * i16_[36]
TProfile * i10_[36]
TProfile2D * h02_[36]
Definition: EBLaserClient.h:92
MonitorElement * mepnprms05_[36]
MonitorElement * met01_[36]
Ecal Barrel Monitor Client mom class.
TProfile * i11_[36]