CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBStatusFlagsClient.h
Go to the documentation of this file.
1 #ifndef EBStatusFlagsClient_H
2 #define EBStatusFlagsClient_H
3 
4 /*
5  * \file EBStatusFlagsClient.h
6  *
7  * \author G. Della Ricca
8  *
9 */
10 
11 #include <vector>
12 #include <string>
13 
14 #include "TROOT.h"
15 #include "TProfile2D.h"
16 #include "TH1F.h"
17 
19 
21 
22 class MonitorElement;
23 class DQMStore;
24 #ifdef WITH_ECAL_COND_DB
26 class RunIOV;
27 class MonRunIOV;
28 #endif
29 
30 class EBStatusFlagsClient : public EBClient {
31 
32 friend class EBSummaryClient;
33 
34 public:
35 
38 
40 virtual ~EBStatusFlagsClient();
41 
43 void analyze(void);
44 
46 void beginJob(void);
47 
49 void endJob(void);
50 
52 void beginRun(void);
53 
55 void endRun(void);
56 
58 void setup(void);
59 
61 void cleanup(void);
62 
63 #ifdef WITH_ECAL_COND_DB
64 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
66 #endif
67 
69 inline int getEvtPerJob() { return ievt_; }
70 inline int getEvtPerRun() { return jevt_; }
71 
72 private:
73 
74 int ievt_;
75 int jevt_;
76 
77 bool cloneME_;
78 
79 bool verbose_;
80 bool debug_;
81 
83 
85 
86 std::vector<int> superModules_;
87 
89 
91 
92 TH2F* h01_[36];
93 
95 
96 TH1F* h02_[36];
97 
99 
100 TH2F* h03_[36];
101 
102 };
103 
104 #endif
void endRun(void)
EndRun.
void cleanup(void)
Cleanup.
int getEvtPerRun()
Returns the number of processed events in this Run.
EBStatusFlagsClient(const edm::ParameterSet &ps)
Constructor.
std::vector< int > superModules_
void beginRun(void)
BeginRun.
int getEvtPerJob()
Get Functions.
MonitorElement * meh03_[36]
MonitorElement * meh01_[36]
MonitorElement * meh02_[36]
void endJob(void)
EndJob.
void beginJob(void)
BeginJob.
void analyze(void)
Analyze.
virtual ~EBStatusFlagsClient()
Destructor.
void setup(void)
Setup.
tuple status
Definition: ntuplemaker.py:245
Definition: RunIOV.h:13
Ecal Barrel Monitor Client mom class.