CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBIntegrityClient.h
Go to the documentation of this file.
1 #ifndef EBIntegrityClient_H
2 #define EBIntegrityClient_H
3 
4 /*
5  * \file EBIntegrityClient.h
6  *
7  * $Date: 2010/02/14 14:35:44 $
8  * $Revision: 1.75 $
9  * \author G. Della Ricca
10  * \author G. Franzoni
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 EBIntegrityClient : public EBClient {
34 
35 friend class EBSummaryClient;
36 
37 public:
38 
41 
43 virtual ~EBIntegrityClient();
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 TH1F* h00_;
94 
95 TH2F* h01_[36];
96 TH2F* h02_[36];
97 TH2F* h03_[36];
98 TH2F* h04_[36];
99 TH2F* h05_[36];
100 TH2F* h06_[36];
101 TH2F* h07_[36];
102 TH2F* h08_[36];
103 TH2F* h09_[36];
104 
107 
108 TH2F* h_[36];
109 TH2F* hmem_[36];
110 
111 // Quality criteria for data integrity
112 
114 
115 const static int chNum [5][5];
116 
117 };
118 
119 #endif
int getEvtPerJob()
Get Functions.
EBIntegrityClient(const edm::ParameterSet &ps)
Constructor.
virtual ~EBIntegrityClient()
Destructor.
int getEvtPerRun()
Returns the number of processed events in this Run.
void analyze(void)
Analyze.
void cleanup(void)
Cleanup.
void beginRun(void)
BeginRun.
void endRun(void)
EndRun.
std::vector< int > superModules_
MonitorElement * meg01_[36]
static const int chNum[5][5]
void setup(void)
Setup.
void beginJob(void)
BeginJob.
void endJob(void)
EndJob.
MonitorElement * meg02_[36]
tuple status
Definition: ntuplemaker.py:245
Definition: RunIOV.h:13
Ecal Barrel Monitor Client mom class.