CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMClientExample.h
Go to the documentation of this file.
1 #ifndef DQMClientExample_H
2 #define DQMClientExample_H
3 
13 /* Jan 17, 2009: the code has been modified significantly
14  * to steer the client operations
15  * Author: D.Volyanskyy
16  */
17 
22 
23 #include <memory>
24 #include <iostream>
25 #include <fstream>
26 #include <string>
27 #include <vector>
28 #include <map>
29 
30 
32 
33 public:
34 
37 
39  virtual ~DQMClientExample();
40 
41 protected:
42 
44  void beginJob();
45 
47  void beginRun(const edm::Run& r, const edm::EventSetup& c);
48 
50  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
51 
53  void performClient();
54 
56  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
57  const edm::EventSetup& context) ;
58 
60  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
61  const edm::EventSetup& c);
62 
64  void endRun(const edm::Run& r, const edm::EventSetup& c);
65 
67  void endJob();
68 
69 private:
71  void initialize();
72 
74 
78  int counterClientOperation ; //-- counter on Client Operations
79  int counterEvt_; //-- event counter
80  int counterLS_; //-- LS counter
81  int prescaleEvt_; //-- prescale on number of events
82  int prescaleLS_; //-- prescale on number of lumisections
87 
88  // -------- member data --------
90 
91 };
92 
93 #endif
94 
95 
edm::ParameterSet parameters_
std::string QTestName_
virtual ~DQMClientExample()
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
std::string monitorName_
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
MonitorElement * clientHisto
void beginRun(const edm::Run &r, const edm::EventSetup &c)
DQMClientExample(const edm::ParameterSet &ps)
void endRun(const edm::Run &r, const edm::EventSetup &c)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: Run.h:43