CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EEClusterClient.h
Go to the documentation of this file.
1 #ifndef EEClusterClient_H
2 #define EEClusterClient_H
3 
4 /*
5  * \file EEClusterClient.h
6  *
7  * $Date: 2010/01/25 21:12:25 $
8  * $Revision: 1.31 $
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 EEClusterClient : public EEClient {
35 
36 friend class EESummaryClient;
37 
38 public:
39 
42 
44 virtual ~EEClusterClient();
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* h04_[3][2];
96 TProfile* h02ProjEta_[3][2];
97 TProfile* h02ProjPhi_[3][2];
98 TH2F* h03_[2];
99 TH1F* h03ProjEta_[2];
100 TH1F* h03ProjPhi_[2];
101 TH1F* i01_[3];
102 TH1F* s01_[3];
103 
104 };
105 
106 #endif
int getEvtPerJob()
Get Functions.
std::vector< int > superModules_
int getEvtPerRun()
Returns the number of processed events in this Run.
void beginRun(void)
BeginRun.
TProfile * h02ProjPhi_[3][2]
virtual ~EEClusterClient()
Destructor.
void setup(void)
Setup.
void beginJob(void)
BeginJob.
TProfile * h02ProjEta_[3][2]
Ecal Barrel Monitor Client mom class.
TProfile2D * h04_[3][2]
void analyze(void)
Analyze.
EEClusterClient(const edm::ParameterSet &ps)
Constructor.
TH1F * h03ProjPhi_[2]
TH1F * h03ProjEta_[2]
DQMStore * dqmStore_
void cleanup(void)
Cleanup.
void endJob(void)
EndJob.
tuple status
Definition: ntuplemaker.py:245
Definition: RunIOV.h:13
void endRun(void)
EndRun.
std::string prefixME_