CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBClusterClient.h
Go to the documentation of this file.
1 #ifndef EBClusterClient_H
2 #define EBClusterClient_H
3 
4 /*
5  * \file EBClusterClient.h
6  *
7  * \author G. Della Ricca
8  * \author F. Cossutti
9  * \author E. Di Marco
10  *
11  */
12 
13 #include <vector>
14 #include <string>
15 
16 #include "TROOT.h"
17 #include "TProfile2D.h"
18 #include "TH1F.h"
19 
21 
23 
24 class MonitorElement;
25 class DQMStore;
26 #ifdef WITH_ECAL_COND_DB
28 class RunIOV;
29 class MonRunIOV;
30 #endif
31 
32 class EBClusterClient : public EBClient {
33 
34 friend class EBSummaryClient;
35 
36 public:
37 
40 
42 virtual ~EBClusterClient();
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 int ievt_;
77 int jevt_;
78 
79 bool cloneME_;
80 
81 bool verbose_;
82 bool debug_;
83 
85 
87 
88 std::vector<int> superModules_;
89 
91 
92 TH1F* h01_[3];
93 TProfile2D* h02_[2];
94 TProfile* h02ProjEta_[2], *h02ProjPhi_[2];
95 TH2F* h03_;
97 TProfile2D* h04_;
99 TH1F* i01_[3];
100 
101 TH1F* s01_[3];
102 
103 };
104 
105 #endif
TProfile * h04ProjPhi_
void endRun(void)
EndRun.
void beginRun(void)
BeginRun.
void setup(void)
Setup.
std::vector< int > superModules_
EBClusterClient(const edm::ParameterSet &ps)
Constructor.
void analyze(void)
Analyze.
virtual ~EBClusterClient()
Destructor.
std::string prefixME_
void beginJob(void)
BeginJob.
int getEvtPerRun()
Returns the number of processed events in this Run.
DQMStore * dqmStore_
TProfile2D * h04_
TProfile2D * h02_[2]
TProfile * h02ProjPhi_[2]
TProfile * h04ProjEta_
int getEvtPerJob()
Get Functions.
tuple status
Definition: ntuplemaker.py:245
void cleanup(void)
Cleanup.
Definition: RunIOV.h:13
void endJob(void)
EndJob.
Ecal Barrel Monitor Client mom class.
TProfile * h02ProjEta_[2]