CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EETestPulseClient.h
Go to the documentation of this file.
1 #ifndef EETestPulseClient_H
2 #define EETestPulseClient_H
3 
4 /*
5  * \file EETestPulseClient.h
6  *
7  * $Date: 2010/02/14 20:56:24 $
8  * $Revision: 1.39 $
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 EETestPulseClient : public EEClient {
34 
35 friend class EESummaryClient;
36 
37 public:
38 
41 
43 virtual ~EETestPulseClient();
44 
46 void analyze(void);
47 
49 void beginJob(void);
50 
52 void endJob(void);
53 
55 void beginRun(void);
56 
58 void endRun(void);
59 
61 void setup(void);
62 
64 void cleanup(void);
65 
66 #ifdef WITH_ECAL_COND_DB
67 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* ha01_[18];
96 TProfile2D* ha02_[18];
97 TProfile2D* ha03_[18];
98 
99 TProfile2D* hs01_[18];
100 TProfile2D* hs02_[18];
101 TProfile2D* hs03_[18];
102 
106 
109 
113 
116 
120 
121 TProfile* i01_[18];
122 TProfile* i02_[18];
123 TProfile* i03_[18];
124 TProfile* i04_[18];
125 
126 // Quality check on crystals
127 
131 
132 // Quality check on PNs
133 
139 
140 };
141 
142 #endif
TProfile2D * hs03_[18]
MonitorElement * me_hs03_[18]
MonitorElement * mea03_[18]
TProfile2D * hs01_[18]
TProfile2D * ha01_[18]
MonitorElement * me_hs02_[18]
void beginJob(void)
BeginJob.
TProfile2D * ha02_[18]
MonitorElement * mea01_[18]
std::vector< int > MGPAGainsPN_
MonitorElement * meg01_[18]
MonitorElement * meg05_[18]
void beginRun(void)
BeginRun.
Ecal Barrel Monitor Client mom class.
void setup(void)
Setup.
TProfile * i03_[18]
TProfile * i02_[18]
MonitorElement * meg04_[18]
MonitorElement * meg03_[18]
MonitorElement * mea02_[18]
TProfile * i04_[18]
MonitorElement * mer04_[18]
MonitorElement * mer05_[18]
MonitorElement * me_hs01_[18]
MonitorElement * meg02_[18]
int getEvtPerRun()
Returns the number of processed events in this Run.
TProfile2D * ha03_[18]
TProfile2D * hs02_[18]
TProfile * i01_[18]
void analyze(void)
Analyze.
void cleanup(void)
Cleanup.
EETestPulseClient(const edm::ParameterSet &ps)
Constructor.
tuple status
Definition: ntuplemaker.py:245
std::vector< int > MGPAGains_
Definition: RunIOV.h:13
int getEvtPerJob()
Get Functions.
virtual ~EETestPulseClient()
Destructor.
float pedPnDiscrepancyMean_[2]
void endRun(void)
EndRun.
std::vector< int > superModules_
void endJob(void)
EndJob.