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  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
38  const edm::EventSetup& context) override;
39 
40  // DQM Client Diagnostic
41  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
42  const edm::EventSetup& c) override;
43 
44  // EndRun
45  void endRun(const edm::Run& r, const edm::EventSetup& c) override;
46 
47  // Endjob
48  void endJob() override;
49 
50 private:
51 
52  void initialize();
53 
55 
58 
61 
62  int prescaleEvt_; // every n events
63  int prescaleLS_; // units of lumi sections
64 
65  // ---------- member data ----------
66 
67  int NBINS;
68  float XMIN, XMAX;
69 
70  // monitor elements for testing of Quality Tests
75 
80 
85 
86  // several ME more
98 
99 };
100 
101 #endif
102 
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
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
MonitorElement * h1hist
MonitorElement * meanTrue
MonitorElement * noisyTrue
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
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:43