CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EELaserClient.h
Go to the documentation of this file.
1 #ifndef EELaserClient_H
2 #define EELaserClient_H
3 
4 /*
5  * \file EELaserClient.h
6  *
7  * $Date: 2010/02/14 20:56:24 $
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 EELaserClient : public EEClient {
33 
34 friend class EESummaryClient;
35 
36 public:
37 
40 
42 virtual ~EELaserClient();
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 
85 
87 
88 std::vector<int> superModules_;
89 std::vector<int> laserWavelengths_;
90 
92 
93 TProfile2D* h01_[18];
94 TProfile2D* h02_[18];
95 TProfile2D* h03_[18];
96 TProfile2D* h04_[18];
97 TProfile2D* h05_[18];
98 TProfile2D* h06_[18];
99 TProfile2D* h07_[18];
100 TProfile2D* h08_[18];
101 
102 TProfile2D* h09_[18];
103 TProfile2D* h10_[18];
104 TProfile2D* h11_[18];
105 TProfile2D* h12_[18];
106 
107 TProfile2D* hs01_[18];
108 TProfile2D* hs02_[18];
109 TProfile2D* hs03_[18];
110 TProfile2D* hs04_[18];
111 
116 
125 
130 
135 
140 
145 
150 
159 
164 
165 TProfile* i01_[18];
166 TProfile* i02_[18];
167 TProfile* i03_[18];
168 TProfile* i04_[18];
169 TProfile* i05_[18];
170 TProfile* i06_[18];
171 TProfile* i07_[18];
172 TProfile* i08_[18];
173 TProfile* i09_[18];
174 TProfile* i10_[18];
175 TProfile* i11_[18];
176 TProfile* i12_[18];
177 TProfile* i13_[18];
178 TProfile* i14_[18];
179 TProfile* i15_[18];
180 TProfile* i16_[18];
181 
182 // Quality check on crystals
183 
187 
188 // Quality check on PNs
189 
195 
196 };
197 
198 #endif
std::vector< int > laserWavelengths_
Definition: EELaserClient.h:89
MonitorElement * metrms03_[18]
float rmsThresholdRelative_
std::vector< int > superModules_
Definition: EELaserClient.h:88
TProfile * i11_[18]
TProfile2D * hs02_[18]
MonitorElement * met01_[18]
MonitorElement * me_hs01_[18]
TProfile * i10_[18]
void beginJob(void)
BeginJob.
TProfile2D * h12_[18]
TProfile * i12_[18]
TProfile2D * h02_[18]
Definition: EELaserClient.h:94
EELaserClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * metav04_[18]
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition: EELaserClient.h:72
TProfile * i06_[18]
virtual ~EELaserClient()
Destructor.
MonitorElement * mepnprms03_[18]
MonitorElement * meg04_[18]
TProfile * i07_[18]
MonitorElement * met02_[18]
void analyze(void)
Analyze.
TProfile2D * h11_[18]
MonitorElement * meg11_[18]
MonitorElement * mepnprms02_[18]
MonitorElement * metav02_[18]
MonitorElement * met04_[18]
MonitorElement * mepnprms05_[18]
MonitorElement * meg12_[18]
MonitorElement * meg09_[18]
MonitorElement * metav03_[18]
MonitorElement * me_hs02_[18]
MonitorElement * mea04_[18]
MonitorElement * me_hs04_[18]
MonitorElement * meaopn01_[18]
Ecal Barrel Monitor Client mom class.
void endJob(void)
EndJob.
TProfile * i03_[18]
MonitorElement * meaopn03_[18]
void setup(void)
Setup.
float pedPnDiscrepancyMean_[2]
MonitorElement * metrms02_[18]
TProfile * i02_[18]
MonitorElement * meaopn04_[18]
MonitorElement * mepnprms08_[18]
float pedPnRMSThreshold_[2]
float amplitudeThresholdPnG16_
MonitorElement * mea03_[18]
MonitorElement * meg03_[18]
TProfile * i01_[18]
MonitorElement * mepnprms06_[18]
MonitorElement * mea01_[18]
float pedPnExpectedMean_[2]
TProfile2D * h05_[18]
Definition: EELaserClient.h:97
float amplitudeThreshold_
TProfile2D * hs01_[18]
MonitorElement * meg08_[18]
MonitorElement * mepnprms04_[18]
MonitorElement * me_hs03_[18]
TProfile * i15_[18]
void endRun(void)
EndRun.
MonitorElement * meg07_[18]
MonitorElement * mea02_[18]
DQMStore * dqmStore_
Definition: EELaserClient.h:91
TProfile2D * h06_[18]
Definition: EELaserClient.h:98
void cleanup(void)
Cleanup.
TProfile * i08_[18]
MonitorElement * meg02_[18]
TProfile2D * hs03_[18]
std::string prefixME_
Definition: EELaserClient.h:84
TProfile * i16_[18]
TProfile2D * h03_[18]
Definition: EELaserClient.h:95
TProfile2D * h09_[18]
TProfile * i05_[18]
TProfile2D * h10_[18]
TProfile2D * h01_[18]
Definition: EELaserClient.h:93
void beginRun(void)
BeginRun.
MonitorElement * meg10_[18]
MonitorElement * metrms04_[18]
TProfile2D * h07_[18]
Definition: EELaserClient.h:99
MonitorElement * metav01_[18]
MonitorElement * meg06_[18]
MonitorElement * metrms01_[18]
TProfile * i14_[18]
MonitorElement * mepnprms01_[18]
TProfile2D * h08_[18]
TProfile * i13_[18]
float percentVariation_
TProfile2D * h04_[18]
Definition: EELaserClient.h:96
MonitorElement * met03_[18]
tuple status
Definition: ntuplemaker.py:245
MonitorElement * meaopn02_[18]
TProfile * i09_[18]
Definition: RunIOV.h:13
float amplitudeThresholdPnG01_
MonitorElement * meg05_[18]
TProfile * i04_[18]
MonitorElement * mepnprms07_[18]
TProfile2D * hs04_[18]
MonitorElement * meg01_[18]
int getEvtPerJob()
Get Functions.
Definition: EELaserClient.h:71