CMS 3D CMS Logo

DQMSourceExample.h
Go to the documentation of this file.
1 #ifndef DQMSourceExample_H
2 #define DQMSourceExample_H
3 
13 
16 
17 //
18 // class declaration
19 //
20 
22 public:
24  ~DQMSourceExample() override;
25 
26 protected:
27 
28  // BeginJob
29  void beginJob() override;
30 
31  // BeginRun
32  void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
33 
34  // Fake Analyze
35  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
36 
37 
38  // DQM Client Diagnostic
39 
40  // EndRun
41  void endRun(const edm::Run& r, const edm::EventSetup& c) override;
42 
43  // Endjob
44  void endJob() override;
45 
46 private:
47 
48  void initialize();
49 
51 
54 
57 
58  int prescaleEvt_; // every n events
59  int prescaleLS_; // units of lumi sections
60 
61  // ---------- member data ----------
62 
63  int NBINS;
64  float XMIN, XMAX;
65 
66  // monitor elements for testing of Quality Tests
71 
76 
81 
82  // several ME more
94 
95 };
96 
97 #endif
98 
MonitorElement * deadTrue
void endJob() override
MonitorElement * xTrue
MonitorElement * s1
~DQMSourceExample() override
MonitorElement * wExpFalse
DQMSourceExample(const edm::ParameterSet &)
MonitorElement * xFalse
MonitorElement * yFalse
MonitorElement * h4
MonitorElement * h2
MonitorElement * i1
MonitorElement * summ
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
MonitorElement * h3
MonitorElement * h1hist
MonitorElement * meanTrue
MonitorElement * noisyTrue
MonitorElement * h1
edm::ParameterSet parameters_
MonitorElement * noisyFalse
void beginJob() override
MonitorElement * deadFalse
MonitorElement * f1
MonitorElement * p1
MonitorElement * wExpTrue
std::string monitorName_
MonitorElement * yTrue
MonitorElement * meanFalse
void endRun(const edm::Run &r, const edm::EventSetup &c) override
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * p2
Definition: Run.h:44