CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalBarrelMonitorClient.h
Go to the documentation of this file.
1 #ifndef EcalBarrelMonitorClient_H
2 #define EcalBarrelMonitorClient_H
3 
4 /*
5  * \file EcalBarrelMonitorClient.h
6  *
7  * $Date: 2012/04/27 13:45:58 $
8  * $Revision: 1.128 $
9  * \author G. Della Ricca
10  * \author F. Cossutti
11  *
12 */
13 
14 #include <string>
15 #include <vector>
16 #include <map>
17 
22 
24 
26 
27 #include "TROOT.h"
28 #include "TH1.h"
29 
30 class DQMStore;
31 #ifdef WITH_ECAL_COND_DB
32 class RunIOV;
33 class MonRunIOV;
34 #endif
35 
37 
39 
40 public:
41 
44 
46 virtual ~EcalBarrelMonitorClient();
47 
49 void analyze(void);
50 void analyze(const edm::Event & e, const edm::EventSetup & c);
51 
53 void beginJob(void);
54 
56 void endJob(void);
57 
59 void beginRun(void);
60 void beginRun(const edm::Run & r, const edm::EventSetup & c);
61 
63 void endRun(void);
64 void endRun(const edm::Run & r, const edm::EventSetup & c);
65 
68 
71 
73 void reset(void);
74 
76 void setup(void);
77 
79 void cleanup(void);
80 
82 void softReset(bool flag);
83 
85 void beginRunDb(void);
86 
88 void writeDb(void);
89 
91 void endRunDb(void);
92 
93 inline const char* getRunType( void ) { return( runType_ == -1 ? "UNKNOWN" : runTypes_[runType_].c_str() ); }
94 
95 private:
96 
97 int ievt_;
98 int jevt_;
99 
100 bool cloneME_;
101 
102 bool verbose_;
103 bool debug_;
104 
106 
108 
110 
116 
118 
120 
122 
123 #ifdef WITH_ECAL_COND_DB
124 RunIOV runiov_;
125 MonRunIOV moniov_;
126 #endif
127 
129 
131 
134 
135 time_t updateTime_;
137 
138 std::vector<int> superModules_;
139 
140 std::vector<std::string> enabledClients_;
141 
142 std::multimap<EBClient*,int> clientsRuns_;
143 std::vector<std::string> runTypes_;
144 std::vector<EBClient*> clients_;
145 std::vector<std::string> clientsNames_;
146 std::map<std::string,int> clientsStatus_;
147 
149 
151 
153 
155 
157 
160 
162 
163 int run_;
164 int evt_;
165 
167 bool end_run_;
168 
170 
172 
174 
175 TH1F* h_;
176 
177 };
178 
179 #endif
std::multimap< EBClient *, int > clientsRuns_
long int flag
Definition: mlp_lapack.h:47
std::vector< std::string > clientsNames_
std::vector< std::string > enabledClients_
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
BeginLumiBlock.
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
EndLumiBlock.
void softReset(bool flag)
SoftReset.
EcalBarrelMonitorClient(const edm::ParameterSet &ps)
Constructor.
std::vector< EBClient * > clients_
std::map< std::string, int > clientsStatus_
virtual ~EcalBarrelMonitorClient()
Destructor.
std::vector< std::string > runTypes_
void beginRunDb(void)
BeginRunDB.
Definition: RunIOV.h:13
Ecal Barrel Monitor Client mom class.
Definition: Run.h:36