CMS 3D CMS Logo

DQMClientExample.h
Go to the documentation of this file.
1 #ifndef DQMClientExample_H
2 #define DQMClientExample_H
3 
12 /* Jan 17, 2009: the code has been modified significantly
13  * to steer the client operations
14  * Author: D.Volyanskyy
15  */
16 
21 
22 #include <fstream>
23 #include <iostream>
24 #include <map>
25 #include <memory>
26 #include <string>
27 #include <vector>
28 
30 public:
33 
35  ~DQMClientExample() override;
36 
37 protected:
39  void beginJob() override;
40 
42  void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
43 
45  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
46 
48  void performClient();
49 
51  void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override;
52 
54  void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override;
55 
57  void endRun(const edm::Run &r, const edm::EventSetup &c) override;
58 
60  void endJob() override;
61 
62 private:
64  void initialize();
65 
67 
71  int counterClientOperation; //-- counter on Client Operations
72  int counterEvt_; //-- event counter
73  int counterLS_; //-- LS counter
74  int prescaleEvt_; //-- prescale on number of events
75  int prescaleLS_; //-- prescale on number of lumisections
80 
81  // -------- member data --------
83 };
84 
85 #endif
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:45