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  * \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 EELaserClient : public EEClient {
31 
32 friend class EESummaryClient;
33 
34 public:
35 
38 
40 virtual ~EELaserClient();
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_[18];
92 TProfile2D* h02_[18];
93 TProfile2D* h03_[18];
94 TProfile2D* h04_[18];
95 TProfile2D* h05_[18];
96 TProfile2D* h06_[18];
97 TProfile2D* h07_[18];
98 TProfile2D* h08_[18];
99 
100 TProfile2D* h09_[18];
101 TProfile2D* h10_[18];
102 TProfile2D* h11_[18];
103 TProfile2D* h12_[18];
104 
105 TProfile2D* hs01_[18];
106 TProfile2D* hs02_[18];
107 TProfile2D* hs03_[18];
108 TProfile2D* hs04_[18];
109 
114 
123 
128 
133 
138 
143 
148 
157 
162 
163 TProfile* i01_[18];
164 TProfile* i02_[18];
165 TProfile* i03_[18];
166 TProfile* i04_[18];
167 TProfile* i05_[18];
168 TProfile* i06_[18];
169 TProfile* i07_[18];
170 TProfile* i08_[18];
171 TProfile* i09_[18];
172 TProfile* i10_[18];
173 TProfile* i11_[18];
174 TProfile* i12_[18];
175 TProfile* i13_[18];
176 TProfile* i14_[18];
177 TProfile* i15_[18];
178 TProfile* i16_[18];
179 
180 // Quality check on crystals
181 
185 
186 // Quality check on PNs
187 
193 
194 };
195 
196 #endif
std::vector< int > laserWavelengths_
Definition: EELaserClient.h:87
MonitorElement * metrms03_[18]
float rmsThresholdRelative_
std::vector< int > superModules_
Definition: EELaserClient.h:86
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:92
EELaserClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * metav04_[18]
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition: EELaserClient.h:70
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:95
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:89
TProfile2D * h06_[18]
Definition: EELaserClient.h:96
void cleanup(void)
Cleanup.
TProfile * i08_[18]
MonitorElement * meg02_[18]
TProfile2D * hs03_[18]
std::string prefixME_
Definition: EELaserClient.h:82
TProfile * i16_[18]
TProfile2D * h03_[18]
Definition: EELaserClient.h:93
TProfile2D * h09_[18]
TProfile * i05_[18]
TProfile2D * h10_[18]
TProfile2D * h01_[18]
Definition: EELaserClient.h:91
void beginRun(void)
BeginRun.
MonitorElement * meg10_[18]
MonitorElement * metrms04_[18]
TProfile2D * h07_[18]
Definition: EELaserClient.h:97
MonitorElement * metav01_[18]
MonitorElement * meg06_[18]
MonitorElement * metrms01_[18]
TProfile * i14_[18]
MonitorElement * mepnprms01_[18]
TProfile2D * h08_[18]
Definition: EELaserClient.h:98
TProfile * i13_[18]
float percentVariation_
TProfile2D * h04_[18]
Definition: EELaserClient.h:94
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:69