CMS 3D CMS Logo

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  ~DQMClientExample() override;
40 
41 protected:
42 
44  void beginJob() override;
45 
47  void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
48 
50  void analyze(const edm::Event& e, const edm::EventSetup& c) override ;
51 
53  void performClient();
54 
56  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
57  const edm::EventSetup& context) override ;
58 
60  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
61  const edm::EventSetup& c) override;
62 
64  void endRun(const edm::Run& r, const edm::EventSetup& c) override;
65 
67  void endJob() override;
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 
void endRun(const edm::Run &r, const edm::EventSetup &c) override
edm::ParameterSet parameters_
std::string QTestName_
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
~DQMClientExample() override
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
void beginJob() override
std::string monitorName_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * clientHisto
void endJob() override
DQMClientExample(const edm::ParameterSet &ps)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
Definition: Run.h:43