CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EEBeamCaloClient.h
Go to the documentation of this file.
1 #ifndef EEBeamCaloClient_H
2 #define EEBeamCaloClient_H
3 
4 /*
5  * \file EEBeamCaloClient.h
6  *
7  * $Date: 2009/10/28 08:18:22 $
8  * $Revision: 1.25 $
9  * \author G. Della Ricca
10  * \author A. Ghezzi
11  *
12 */
13 
14 #include <vector>
15 #include <string>
16 
17 #include "TROOT.h"
18 #include "TProfile2D.h"
19 #include "TProfile.h"
20 #include "TH1F.h"
21 
23 
25 
26 class MonitorElement;
27 class DQMStore;
28 #ifdef WITH_ECAL_COND_DB
30 class MonRunIOV;
31 #endif
32 
33 class EEBeamCaloClient : public EEClient {
34 
35 public:
36 
39 
41 virtual ~EEBeamCaloClient();
42 
44 void analyze(void);
45 
47 void beginJob(void);
48 
50 void endJob(void);
51 
53 void beginRun(void);
54 
56 void endRun(void);
57 
59 void setup(void);
60 
62 void cleanup(void);
63 
64 #ifdef WITH_ECAL_COND_DB
65 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 const static int cryInArray_ = 9;
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 
92 
93 //specific task me
94 std::vector<int> checkedSteps_;
96 //specific task me
97 
99 TProfile* hBpulse_[cryInArray_];
100 
101 TH1F* hBEne1_;
102 
103 //TH1F* hBGainsMoving_[cryInArray_];
104 //TH1F* hBEne1Moving_;
105 
107 
109 
110 TH1F* hBE3x3_;
111 
113 
115 
117 
119 
120 TProfile* hBE1vsCry_;
121 
122 TProfile* hBE3x3vsCry_;
123 
125 
127 
129 
131 
133 
134 TH1F* hbDesync_;
135 
137 
141 
142 // quality check parameters
143 
145 
146 float aveEne1_;
147 float E1Th_;
149 float E3x3Th_;
152 
153 };
154 
155 #endif
void beginRun(void)
BeginRun.
TH1F * hBGains_[cryInArray_]
MonitorElement * meEEBCaloRedGreenSteps_
void endJob(void)
EndJob.
DQMStore * dqmStore_
std::vector< int > superModules_
void cleanup(void)
Cleanup.
TProfile * hBpulse_[cryInArray_]
virtual ~EEBeamCaloClient()
Destructor.
EEBeamCaloClient(const edm::ParameterSet &ps)
Constructor.
void setup(void)
Setup.
Ecal Barrel Monitor Client mom class.
void endRun(void)
EndRun.
void analyze(void)
Analyze.
MonitorElement * meEEBCaloRedGreen_
TProfile * pBCriInBeamEvents_
void beginJob(void)
BeginJob.
static const int cryInArray_
int getEvtPerRun()
Returns the number of processed events in this Run.
int getEvtPerJob()
Get Functions.
std::string prefixME_
std::vector< int > checkedSteps_
MonitorElement * meEEBCaloRedGreenReadCry_
tuple status
Definition: ntuplemaker.py:245
Definition: RunIOV.h:13
TProfile * hBE3x3vsCry_