CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBBeamHodoClient.h
Go to the documentation of this file.
1 #ifndef EBBeamHodoClient_H
2 #define EBBeamHodoClient_H
3 
4 /*
5  * \file EBBeamHodoClient.h
6  *
7  * $Date: 2009/10/28 08:18:20 $
8  * $Revision: 1.39 $
9  * \author G. Della Ricca
10  * \author G. Franzoni
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 EBBeamHodoClient : public EBClient {
34 
35 public:
36 
39 
41 virtual ~EBBeamHodoClient();
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 int ievt_;
76 int jevt_;
77 
78 bool cloneME_;
79 
80 bool verbose_;
81 bool debug_;
82 
83 std::string prefixME_;
84 
86 
87 std::vector<int> superModules_;
88 
90 
91 TH1F* ho01_[4];
92 TH1F* hr01_[4];
93 
94 TH1F* hp01_[2];
95 TH2F* hp02_;
96 
97 TH1F* hs01_[2];
98 
99 TH1F* hq01_[2];
100 
101 TH1F* ht01_;
102 
103 TH1F* hc01_[3];
104 
105 TH1F* hm01_;
106 
107 TProfile* he01_[2];
108 TH2F* he02_[2];
109 
110 TH1F* he03_[3];
111 
112 };
113 
114 #endif
void endRun(void)
EndRun.
DQMStore * dqmStore_
int getEvtPerRun()
Returns the number of processed events in this Run.
TProfile * he01_[2]
int getEvtPerJob()
Get Functions.
std::vector< int > superModules_
std::string prefixME_
void analyze(void)
Analyze.
virtual ~EBBeamHodoClient()
Destructor.
void beginJob(void)
BeginJob.
void beginRun(void)
BeginRun.
void endJob(void)
EndJob.
EBBeamHodoClient(const edm::ParameterSet &ps)
Constructor.
void cleanup(void)
Cleanup.
tuple status
Definition: ntuplemaker.py:245
void setup(void)
Setup.
Definition: RunIOV.h:13
Ecal Barrel Monitor Client mom class.