CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBBeamCaloClient.h
Go to the documentation of this file.
1 #ifndef EBBeamCaloClient_H
2 #define EBBeamCaloClient_H
3 
4 /*
5  * \file EBBeamCaloClient.h
6  *
7  * $Date: 2009/10/28 08:18:20 $
8  * $Revision: 1.45 $
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 RunIOV;
31 class MonRunIOV;
32 #endif
33 
34 class EBBeamCaloClient : public EBClient {
35 
36 public:
37 
40 
42 virtual ~EBBeamCaloClient();
43 
45 void analyze(void);
46 
48 void beginJob(void);
49 
51 void endJob(void);
52 
54 void beginRun(void);
55 
57 void endRun(void);
58 
60 void setup(void);
61 
63 void cleanup(void);
64 
65 #ifdef WITH_ECAL_COND_DB
66 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
68 #endif
69 
71 inline int getEvtPerJob() { return ievt_; }
72 inline int getEvtPerRun() { return jevt_; }
73 
74 private:
75 
76 const static int cryInArray_ = 9;
77 
78 int ievt_;
79 int jevt_;
80 
81 bool cloneME_;
82 
83 bool verbose_;
84 bool debug_;
85 
86 std::string prefixME_;
87 
89 
90 std::vector<int> superModules_;
91 
93 
94 //specific task me
95 std::vector<int> checkedSteps_;
97 //specific task me
98 
101 
102 TH1F* hBEne1_;
103 
104 //TH1F* hBGainsMoving_[cryInArray_];
105 //TH1F* hBEne1Moving_;
106 
108 
110 
111 TH1F* hBE3x3_;
112 
114 
116 
118 
120 
121 TProfile* hBE1vsCry_;
122 
123 TProfile* hBE3x3vsCry_;
124 
126 
128 
130 
132 
134 
135 TH1F* hbDesync_;
136 
138 
142 
143 // quality check parameters
144 
146 
147 float aveEne1_;
148 float E1Th_;
150 float E3x3Th_;
153 
154 };
155 
156 #endif
EBBeamCaloClient(const edm::ParameterSet &ps)
Constructor.
std::string prefixME_
MonitorElement * meEBBCaloRedGreenReadCry_
std::vector< int > superModules_
void endRun(void)
EndRun.
int getEvtPerRun()
Returns the number of processed events in this Run.
MonitorElement * meEBBCaloRedGreen_
int getEvtPerJob()
Get Functions.
virtual ~EBBeamCaloClient()
Destructor.
TProfile * hBpulse_[cryInArray_]
void beginJob(void)
BeginJob.
std::vector< int > checkedSteps_
void beginRun(void)
BeginRun.
TProfile * pBCriInBeamEvents_
DQMStore * dqmStore_
void analyze(void)
Analyze.
void setup(void)
Setup.
static const int cryInArray_
void cleanup(void)
Cleanup.
tuple status
Definition: ntuplemaker.py:245
TH1F * hBGains_[cryInArray_]
Definition: RunIOV.h:13
MonitorElement * meEBBCaloRedGreenSteps_
void endJob(void)
EndJob.
TProfile * hBE3x3vsCry_
Ecal Barrel Monitor Client mom class.