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  * $Date: 2010/02/14 20:56:24 $
8  * $Revision: 1.33 $
9  * \author G. Della Ricca
10  * \author F. Cossutti
11  *
12 */
13 
14 #include <vector>
15 #include <string>
16 
17 #include "TROOT.h"
18 #include "TProfile2D.h"
19 #include "TH1F.h"
20 
22 
24 
25 class MonitorElement;
26 class DQMStore;
27 #ifdef WITH_ECAL_COND_DB
29 class RunIOV;
30 class MonRunIOV;
31 #endif
32 
33 class EEPedestalClient : public EEClient {
34 
35 friend class EESummaryClient;
36 
37 public:
38 
41 
43 virtual ~EEPedestalClient();
44 
46 void analyze(void);
47 
48 // BeginJob
49 void beginJob(void);
50 
51 // EndJob
52 void endJob(void);
53 
54 // BeginRun
55 void beginRun(void);
56 
57 // EndRun
58 void endRun(void);
59 
61 void setup(void);
62 
63 // Cleanup
64 void cleanup(void);
65 
66 #ifdef WITH_ECAL_COND_DB
67 // WriteDB
68 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
69 #endif
70 
72 inline int getEvtPerJob() { return ievt_; }
73 inline int getEvtPerRun() { return jevt_; }
74 
75 private:
76 
77 int ievt_;
78 int jevt_;
79 
80 bool cloneME_;
81 
82 bool verbose_;
83 bool debug_;
84 
85 std::string prefixME_;
86 
88 
89 std::vector<int> superModules_;
90 std::vector<int> MGPAGains_;
91 std::vector<int> MGPAGainsPN_;
92 
94 
95 TProfile2D* h01_[18];
96 TProfile2D* h02_[18];
97 TProfile2D* h03_[18];
98 
99 TProfile2D* j01_[18];
100 TProfile2D* j02_[18];
101 TProfile2D* j03_[18];
102 
103 TProfile2D* k01_[18];
104 TProfile2D* k02_[18];
105 TProfile2D* k03_[18];
106 
110 
113 
117 
121 
124 
128 
132 
133 TProfile* i01_[18];
134 TProfile* i02_[18];
135 
136 // Quality check on crystals, one per each gain
137 
138 float expectedMean_[3];
140 float RMSThreshold_[3];
142 
143 // Quality check on PNs
144 
148 
149 };
150 
151 #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]