CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EEPedestalClient.h
Go to the documentation of this file.
1 #ifndef EEPedestalClient_H
2 #define EEPedestalClient_H
3 
4 /*
5  * \file EEPedestalClient.h
6  *
7  * \author G. Della Ricca
8  * \author F. Cossutti
9  *
10 */
11 
12 #include <vector>
13 #include <string>
14 
15 #include "TROOT.h"
16 #include "TProfile2D.h"
17 #include "TH1F.h"
18 
20 
22 
23 class MonitorElement;
24 class DQMStore;
25 #ifdef WITH_ECAL_COND_DB
27 class RunIOV;
28 class MonRunIOV;
29 #endif
30 
31 class EEPedestalClient : public EEClient {
32 
33 friend class EESummaryClient;
34 
35 public:
36 
39 
41 virtual ~EEPedestalClient();
42 
44 void analyze(void);
45 
46 // BeginJob
47 void beginJob(void);
48 
49 // EndJob
50 void endJob(void);
51 
52 // BeginRun
53 void beginRun(void);
54 
55 // EndRun
56 void endRun(void);
57 
59 void setup(void);
60 
61 // Cleanup
62 void cleanup(void);
63 
64 #ifdef WITH_ECAL_COND_DB
65 // WriteDB
66 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
67 #endif
68 
70 inline int getEvtPerJob() { return ievt_; }
71 inline int getEvtPerRun() { return jevt_; }
72 
73 private:
74 
75 int ievt_;
76 int jevt_;
77 
78 bool cloneME_;
79 
80 bool verbose_;
81 bool debug_;
82 
84 
86 
87 std::vector<int> superModules_;
88 std::vector<int> MGPAGains_;
89 std::vector<int> MGPAGainsPN_;
90 
92 
93 TProfile2D* h01_[18];
94 TProfile2D* h02_[18];
95 TProfile2D* h03_[18];
96 
97 TProfile2D* j01_[18];
98 TProfile2D* j02_[18];
99 TProfile2D* j03_[18];
100 
101 TProfile2D* k01_[18];
102 TProfile2D* k02_[18];
103 TProfile2D* k03_[18];
104 
108 
111 
115 
119 
122 
126 
130 
131 TProfile* i01_[18];
132 TProfile* i02_[18];
133 
134 // Quality check on crystals, one per each gain
135 
136 float expectedMean_[3];
138 float RMSThreshold_[3];
140 
141 // Quality check on PNs
142 
146 
147 };
148 
149 #endif
virtual ~EEPedestalClient()
Destructor.
TProfile2D * h02_[18]
std::vector< int > MGPAGainsPN_
MonitorElement * mep03_[18]
MonitorElement * meg04_[18]
TProfile2D * j03_[18]
void beginJob(void)
begin of job method
int getEvtPerRun()
Returns the number of processed events in this Run.
TProfile2D * h01_[18]
MonitorElement * meg05_[18]
void endJob(void)
end of job method
MonitorElement * met01_[18]
void setup(void)
Setup.
MonitorElement * meg01_[18]
std::vector< int > superModules_
MonitorElement * mer01_[18]
void beginRun(void)
begin of run method
TProfile2D * k02_[18]
MonitorElement * mer05_[18]
TProfile * i01_[18]
Ecal Barrel Monitor Client mom class.
MonitorElement * meg03_[18]
MonitorElement * mer03_[18]
MonitorElement * mep02_[18]
MonitorElement * mer04_[18]
MonitorElement * mer02_[18]
int getEvtPerJob()
Get Functions.
DQMStore * dqmStore_
MonitorElement * meg02_[18]
MonitorElement * mes03_[18]
MonitorElement * mes01_[18]
TProfile2D * k03_[18]
void cleanup(void)
clean up method
std::string prefixME_
TProfile2D * h03_[18]
float RMSThresholdInner_[3]
std::vector< int > MGPAGains_
TProfile2D * j01_[18]
MonitorElement * met02_[18]
TProfile * i02_[18]
EEPedestalClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * mep01_[18]
MonitorElement * mes02_[18]
TProfile2D * k01_[18]
float discrepancyMeanPn_[2]
void endRun(void)
end of run method
MonitorElement * met03_[18]
void analyze(void)
Analyze.
tuple status
Definition: ntuplemaker.py:245
Definition: RunIOV.h:13
TProfile2D * j02_[18]