CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EELedClient.h
Go to the documentation of this file.
1 #ifndef EELedClient_H
2 #define EELedClient_H
3 
4 /*
5  * \file EELedClient.h
6  *
7  * $Date: 2010/03/05 13:34:41 $
8  * $Revision: 1.39 $
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 EELedClient : public EEClient {
33 
34 friend class EESummaryClient;
35 
36 public:
37 
40 
42 virtual ~EELedClient();
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> ledWavelengths_;
90 
92 
93 TProfile2D* h01_[18];
94 TProfile2D* h02_[18];
95 TProfile2D* h03_[18];
96 TProfile2D* h04_[18];
97 
98 TProfile2D* h09_[18];
99 TProfile2D* h10_[18];
100 
101 TProfile2D* hs01_[18];
102 TProfile2D* hs02_[18];
103 
106 
109 
112 
115 
118 
121 
124 
127 
130 
133 
136 
137 TProfile* i01_[18];
138 TProfile* i02_[18];
139 
140 TProfile* i05_[18];
141 TProfile* i06_[18];
142 
143 TProfile* i09_[18];
144 TProfile* i10_[18];
145 
146 TProfile* i13_[18];
147 TProfile* i14_[18];
148 
149 // Quality check on crystals
150 
154 
155 // Quality check on PNs
156 
162 
163 };
164 
165 #endif
float rmsThreshold01_
Definition: EELedClient.h:153
MonitorElement * meg09_[18]
Definition: EELedClient.h:110
DQMStore * dqmStore_
Definition: EELedClient.h:91
TProfile2D * h10_[18]
Definition: EELedClient.h:99
void setup(void)
Setup.
Definition: EELedClient.cc:211
float amplitudeThreshold03_
Definition: EELedClient.h:152
MonitorElement * meg06_[18]
Definition: EELedClient.h:108
void endJob(void)
EndJob.
Definition: EELedClient.cc:195
TProfile2D * h09_[18]
Definition: EELedClient.h:98
int getEvtPerJob()
Get Functions.
Definition: EELedClient.h:71
TProfile2D * hs01_[18]
Definition: EELedClient.h:101
TProfile * i06_[18]
Definition: EELedClient.h:141
MonitorElement * met02_[18]
Definition: EELedClient.h:117
EELedClient(const edm::ParameterSet &ps)
Constructor.
Definition: EELedClient.cc:45
TProfile * i10_[18]
Definition: EELedClient.h:144
MonitorElement * mepnprms05_[18]
Definition: EELedClient.h:131
float amplitudeThresholdPnG01_
Definition: EELedClient.h:157
MonitorElement * meg10_[18]
Definition: EELedClient.h:111
MonitorElement * met01_[18]
Definition: EELedClient.h:116
bool cloneME_
Definition: EELedClient.h:79
float pedPnDiscrepancyMean_[2]
Definition: EELedClient.h:160
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition: EELedClient.h:72
MonitorElement * meaopn02_[18]
Definition: EELedClient.h:126
float amplitudeThresholdPnG16_
Definition: EELedClient.h:158
TProfile2D * h03_[18]
Definition: EELedClient.h:95
float amplitudeThreshold01_
Definition: EELedClient.h:152
float pedPnRMSThreshold_[2]
Definition: EELedClient.h:161
std::string prefixME_
Definition: EELedClient.h:84
Ecal Barrel Monitor Client mom class.
MonitorElement * mepnprms06_[18]
Definition: EELedClient.h:132
TProfile * i05_[18]
Definition: EELedClient.h:140
std::vector< int > ledWavelengths_
Definition: EELedClient.h:89
MonitorElement * metrms01_[18]
Definition: EELedClient.h:122
bool verbose_
Definition: EELedClient.h:81
MonitorElement * meg05_[18]
Definition: EELedClient.h:107
void cleanup(void)
Cleanup.
Definition: EELedClient.cc:462
MonitorElement * metav02_[18]
Definition: EELedClient.h:120
MonitorElement * me_hs01_[18]
Definition: EELedClient.h:134
float rmsThreshold03_
Definition: EELedClient.h:153
void endRun(void)
EndRun.
Definition: EELedClient.cc:203
void analyze(void)
Analyze.
MonitorElement * meaopn01_[18]
Definition: EELedClient.h:125
TProfile2D * hs02_[18]
Definition: EELedClient.h:102
TProfile * i13_[18]
Definition: EELedClient.h:146
TProfile * i02_[18]
Definition: EELedClient.h:138
std::vector< int > superModules_
Definition: EELedClient.h:88
bool enableCleanup_
Definition: EELedClient.h:86
TProfile * i09_[18]
Definition: EELedClient.h:143
MonitorElement * meg01_[18]
Definition: EELedClient.h:104
void beginJob(void)
BeginJob.
Definition: EELedClient.cc:174
TProfile2D * h04_[18]
Definition: EELedClient.h:96
MonitorElement * mepnprms01_[18]
Definition: EELedClient.h:128
virtual ~EELedClient()
Destructor.
Definition: EELedClient.cc:170
void beginRun(void)
BeginRun.
Definition: EELedClient.cc:185
MonitorElement * mea02_[18]
Definition: EELedClient.h:114
TProfile2D * h02_[18]
Definition: EELedClient.h:94
TProfile2D * h01_[18]
Definition: EELedClient.h:93
MonitorElement * metav01_[18]
Definition: EELedClient.h:119
float percentVariation01_
Definition: EELedClient.h:151
MonitorElement * mepnprms02_[18]
Definition: EELedClient.h:129
TProfile * i14_[18]
Definition: EELedClient.h:147
TProfile * i01_[18]
Definition: EELedClient.h:137
MonitorElement * metrms02_[18]
Definition: EELedClient.h:123
tuple status
Definition: ntuplemaker.py:245
float pedPnExpectedMean_[2]
Definition: EELedClient.h:159
Definition: RunIOV.h:13
float percentVariation03_
Definition: EELedClient.h:151
MonitorElement * meg02_[18]
Definition: EELedClient.h:105
MonitorElement * mea01_[18]
Definition: EELedClient.h:113
MonitorElement * me_hs02_[18]
Definition: EELedClient.h:135