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  * $Date: 2010/01/25 21:12:23 $
8  * $Revision: 1.36 $
9  * \author G. Della Ricca
10  * \author F. Cossutti
11  * \author E. Di Marco
12  *
13  */
14 
15 #include <vector>
16 #include <string>
17 
18 #include "TROOT.h"
19 #include "TProfile2D.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 EBClusterClient : public EBClient {
35 
36 friend class EBSummaryClient;
37 
38 public:
39 
42 
44 virtual ~EBClusterClient();
45 
47 void analyze(void);
48 
50 void beginJob(void);
51 
53 void endJob(void);
54 
56 void beginRun(void);
57 
59 void endRun(void);
60 
62 void setup(void);
63 
65 void cleanup(void);
66 
67 #ifdef WITH_ECAL_COND_DB
68 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
70 #endif
71 
73 inline int getEvtPerJob() { return ievt_; }
74 inline int getEvtPerRun() { return jevt_; }
75 
76 private:
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 TH1F* h01_[3];
95 TProfile2D* h02_[2];
96 TProfile* h02ProjEta_[2], *h02ProjPhi_[2];
97 TH2F* h03_;
99 TProfile2D* h04_;
101 TH1F* i01_[3];
102 
103 TH1F* s01_[3];
104 
105 };
106 
107 #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]