CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EEOccupancyClient.h
Go to the documentation of this file.
1 #ifndef EEOccupancyClient_H
2 #define EEOccupancyClient_H
3 
4 /*
5  * \file EEOccupancyClient.h
6  *
7  * $Date: 2009/12/12 10:30:23 $
8  * $Revision: 1.21 $
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 EEOccupancyClient : public EEClient {
34 
35 friend class EESummaryClient;
36 
37 public:
38 
41 
43 virtual ~EEOccupancyClient();
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 
92 
93 TH2F* i01_[18];
94 TProfile2D* i02_[18];
95 
96 TH2F* h01_[2][3];
97 TH1F* h01ProjEta_[2][3];
98 TH1F* h01ProjPhi_[2][3];
99 
100 TH2F* h02_[2][2];
101 TH1F* h02ProjEta_[2][2];
102 TH1F* h02ProjPhi_[2][2];
103 
104 };
105 
106 #endif
void setup(void)
Setup.
TProfile2D * i02_[18]
virtual ~EEOccupancyClient()
Destructor.
int getEvtPerRun()
Returns the number of processed events in this Run.
EEOccupancyClient(const edm::ParameterSet &ps)
Constructor.
void endRun(void)
EndRun.
Ecal Barrel Monitor Client mom class.
TH1F * h02ProjEta_[2][2]
void endJob(void)
EndJob.
void beginRun(void)
BeginRun.
TH1F * h02ProjPhi_[2][2]
TH1F * h01ProjEta_[2][3]
void cleanup(void)
Cleanup.
int getEvtPerJob()
Get Functions.
std::vector< int > superModules_
TH1F * h01ProjPhi_[2][3]
tuple status
Definition: ntuplemaker.py:245
void analyze(void)
Analyze.
Definition: RunIOV.h:13
void beginJob(void)
BeginJob.