CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBOccupancyClient.h
Go to the documentation of this file.
1 #ifndef EBOccupancyClient_H
2 #define EBOccupancyClient_H
3 
4 /*
5  * \file EBOccupancyClient.h
6  *
7  * \author G. Della Ricca
8  * \author F. Cossutti
9  *
10 */
11 
12 #include <vector>
13 #include <string>
14 
15 #include "TROOT.h"
16 #include "TProfile2D.h"
17 #include "TH1F.h"
18 
20 
22 
23 class MonitorElement;
24 class DQMStore;
25 #ifdef WITH_ECAL_COND_DB
27 class RunIOV;
28 class MonRunIOV;
29 #endif
30 
31 class EBOccupancyClient : public EBClient {
32 
33 friend class EBSummaryClient;
34 
35 public:
36 
39 
41 virtual ~EBOccupancyClient();
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 
84 
86 
87 std::vector<int> superModules_;
88 
90 
91 TH2F* i01_[36];
92 TProfile2D* i02_[36];
93 
94 TH2F* h01_[3];
95 TH1F* h01ProjEta_[3];
96 TH1F* h01ProjPhi_[3];
97 
98 TH2F* h02_[2];
99 TH1F* h02ProjEta_[2];
100 TH1F* h02ProjPhi_[2];
101 
102 };
103 
104 #endif
int getEvtPerRun()
Returns the number of processed events in this Run.
std::vector< int > superModules_
virtual ~EBOccupancyClient()
Destructor.
EBOccupancyClient(const edm::ParameterSet &ps)
Constructor.
void beginRun(void)
BeginRun.
void cleanup(void)
Cleanup.
void beginJob(void)
BeginJob.
int getEvtPerJob()
Get Functions.
void analyze(void)
Analyze.
TProfile2D * i02_[36]
void setup(void)
Setup.
void endRun(void)
EndRun.
tuple status
Definition: ntuplemaker.py:245
void endJob(void)
EndJob.
Definition: RunIOV.h:13
Ecal Barrel Monitor Client mom class.