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  // BeginJob
28  void beginJob() override;
29 
30  // BeginRun
31  void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
32 
33  // Fake Analyze
34  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
35 
36  // DQM Client Diagnostic
37 
38  // EndRun
39  void endRun(const edm::Run &r, const edm::EventSetup &c) override;
40 
41  // Endjob
42  void endJob() override;
43 
44 private:
45  void initialize();
46 
48 
51 
54 
55  int prescaleEvt_; // every n events
56  int prescaleLS_; // units of lumi sections
57 
58  // ---------- member data ----------
59 
60  int NBINS;
61  float XMIN, XMAX;
62 
63  // monitor elements for testing of Quality Tests
68 
73 
78 
79  // several ME more
91 };
92 
93 #endif
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:45