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  * $Date: 2010/02/14 20:56:22 $
8  * $Revision: 1.92 $
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 EBLaserClient : public EBClient {
33 
34 friend class EBSummaryClient;
35 
36 public:
37 
40 
42 virtual ~EBLaserClient();
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 std::vector<int> laserWavelengths_;
90 
92 
93 TProfile2D* h01_[36];
94 TProfile2D* h02_[36];
95 TProfile2D* h03_[36];
96 TProfile2D* h04_[36];
97 TProfile2D* h05_[36];
98 TProfile2D* h06_[36];
99 TProfile2D* h07_[36];
100 TProfile2D* h08_[36];
101 
102 TProfile2D* h09_[36];
103 TProfile2D* h10_[36];
104 TProfile2D* h11_[36];
105 TProfile2D* h12_[36];
106 
107 TProfile2D* hs01_[36];
108 TProfile2D* hs02_[36];
109 TProfile2D* hs03_[36];
110 TProfile2D* hs04_[36];
111 
116 
125 
130 
135 
140 
145 
150 
159 
168 
169 TProfile* i01_[36];
170 TProfile* i02_[36];
171 TProfile* i03_[36];
172 TProfile* i04_[36];
173 TProfile* i05_[36];
174 TProfile* i06_[36];
175 TProfile* i07_[36];
176 TProfile* i08_[36];
177 TProfile* i09_[36];
178 TProfile* i10_[36];
179 TProfile* i11_[36];
180 TProfile* i12_[36];
181 TProfile* i13_[36];
182 TProfile* i14_[36];
183 TProfile* i15_[36];
184 TProfile* i16_[36];
185 
186 // Quality check on crystals
187 
191 
192 // Quality check on PNs
193 
199 
200 };
201 
202 #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]
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:98
MonitorElement * me_hs02_[36]
std::vector< int > laserWavelengths_
Definition: EBLaserClient.h:89
float amplitudeThresholdPnG01_
TProfile2D * h07_[36]
Definition: EBLaserClient.h:99
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:93
MonitorElement * metav03_[36]
std::string prefixME_
Definition: EBLaserClient.h:84
MonitorElement * mea04_[36]
MonitorElement * metrms02_[36]
TProfile2D * h03_[36]
Definition: EBLaserClient.h:95
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:97
MonitorElement * meg08_[36]
TProfile2D * h04_[36]
Definition: EBLaserClient.h:96
TProfile * i05_[36]
MonitorElement * mepnprms04_[36]
int getEvtPerJob()
Get Functions.
Definition: EBLaserClient.h:71
MonitorElement * meaopn04_[36]
MonitorElement * meaopn01_[36]
TProfile2D * hs01_[36]
std::vector< int > superModules_
Definition: EBLaserClient.h:88
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:72
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:91
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:94
MonitorElement * mepnprms05_[36]
MonitorElement * met01_[36]
Ecal Barrel Monitor Client mom class.
TProfile * i11_[36]