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  * \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 EELedClient : public EEClient {
31 
32 friend class EESummaryClient;
33 
34 public:
35 
38 
40 virtual ~EELedClient();
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> ledWavelengths_;
88 
90 
91 TProfile2D* h01_[18];
92 TProfile2D* h02_[18];
93 TProfile2D* h03_[18];
94 TProfile2D* h04_[18];
95 
96 TProfile2D* h09_[18];
97 TProfile2D* h10_[18];
98 
99 TProfile2D* hs01_[18];
100 TProfile2D* hs02_[18];
101 
104 
107 
110 
113 
116 
119 
122 
125 
128 
131 
134 
135 TProfile* i01_[18];
136 TProfile* i02_[18];
137 
138 TProfile* i05_[18];
139 TProfile* i06_[18];
140 
141 TProfile* i09_[18];
142 TProfile* i10_[18];
143 
144 TProfile* i13_[18];
145 TProfile* i14_[18];
146 
147 // Quality check on crystals
148 
152 
153 // Quality check on PNs
154 
160 
161 };
162 
163 #endif
float rmsThreshold01_
Definition: EELedClient.h:151
MonitorElement * meg09_[18]
Definition: EELedClient.h:108
DQMStore * dqmStore_
Definition: EELedClient.h:89
TProfile2D * h10_[18]
Definition: EELedClient.h:97
void setup(void)
Setup.
Definition: EELedClient.cc:209
float amplitudeThreshold03_
Definition: EELedClient.h:150
MonitorElement * meg06_[18]
Definition: EELedClient.h:106
void endJob(void)
EndJob.
Definition: EELedClient.cc:193
TProfile2D * h09_[18]
Definition: EELedClient.h:96
int getEvtPerJob()
Get Functions.
Definition: EELedClient.h:69
TProfile2D * hs01_[18]
Definition: EELedClient.h:99
TProfile * i06_[18]
Definition: EELedClient.h:139
MonitorElement * met02_[18]
Definition: EELedClient.h:115
EELedClient(const edm::ParameterSet &ps)
Constructor.
Definition: EELedClient.cc:43
TProfile * i10_[18]
Definition: EELedClient.h:142
MonitorElement * mepnprms05_[18]
Definition: EELedClient.h:129
float amplitudeThresholdPnG01_
Definition: EELedClient.h:155
MonitorElement * meg10_[18]
Definition: EELedClient.h:109
MonitorElement * met01_[18]
Definition: EELedClient.h:114
bool cloneME_
Definition: EELedClient.h:77
float pedPnDiscrepancyMean_[2]
Definition: EELedClient.h:158
int getEvtPerRun()
Returns the number of processed events in this Run.
Definition: EELedClient.h:70
MonitorElement * meaopn02_[18]
Definition: EELedClient.h:124
float amplitudeThresholdPnG16_
Definition: EELedClient.h:156
TProfile2D * h03_[18]
Definition: EELedClient.h:93
float amplitudeThreshold01_
Definition: EELedClient.h:150
float pedPnRMSThreshold_[2]
Definition: EELedClient.h:159
std::string prefixME_
Definition: EELedClient.h:82
Ecal Barrel Monitor Client mom class.
MonitorElement * mepnprms06_[18]
Definition: EELedClient.h:130
TProfile * i05_[18]
Definition: EELedClient.h:138
std::vector< int > ledWavelengths_
Definition: EELedClient.h:87
MonitorElement * metrms01_[18]
Definition: EELedClient.h:120
bool verbose_
Definition: EELedClient.h:79
MonitorElement * meg05_[18]
Definition: EELedClient.h:105
void cleanup(void)
Cleanup.
Definition: EELedClient.cc:460
MonitorElement * metav02_[18]
Definition: EELedClient.h:118
MonitorElement * me_hs01_[18]
Definition: EELedClient.h:132
float rmsThreshold03_
Definition: EELedClient.h:151
void endRun(void)
EndRun.
Definition: EELedClient.cc:201
void analyze(void)
Analyze.
MonitorElement * meaopn01_[18]
Definition: EELedClient.h:123
TProfile2D * hs02_[18]
Definition: EELedClient.h:100
TProfile * i13_[18]
Definition: EELedClient.h:144
TProfile * i02_[18]
Definition: EELedClient.h:136
std::vector< int > superModules_
Definition: EELedClient.h:86
bool enableCleanup_
Definition: EELedClient.h:84
TProfile * i09_[18]
Definition: EELedClient.h:141
MonitorElement * meg01_[18]
Definition: EELedClient.h:102
void beginJob(void)
BeginJob.
Definition: EELedClient.cc:172
TProfile2D * h04_[18]
Definition: EELedClient.h:94
MonitorElement * mepnprms01_[18]
Definition: EELedClient.h:126
virtual ~EELedClient()
Destructor.
Definition: EELedClient.cc:168
void beginRun(void)
BeginRun.
Definition: EELedClient.cc:183
MonitorElement * mea02_[18]
Definition: EELedClient.h:112
TProfile2D * h02_[18]
Definition: EELedClient.h:92
TProfile2D * h01_[18]
Definition: EELedClient.h:91
MonitorElement * metav01_[18]
Definition: EELedClient.h:117
float percentVariation01_
Definition: EELedClient.h:149
MonitorElement * mepnprms02_[18]
Definition: EELedClient.h:127
TProfile * i14_[18]
Definition: EELedClient.h:145
TProfile * i01_[18]
Definition: EELedClient.h:135
MonitorElement * metrms02_[18]
Definition: EELedClient.h:121
tuple status
Definition: ntuplemaker.py:245
float pedPnExpectedMean_[2]
Definition: EELedClient.h:157
Definition: RunIOV.h:13
float percentVariation03_
Definition: EELedClient.h:149
MonitorElement * meg02_[18]
Definition: EELedClient.h:103
MonitorElement * mea01_[18]
Definition: EELedClient.h:111
MonitorElement * me_hs02_[18]
Definition: EELedClient.h:133