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:
25 
26 protected:
27 
28  // BeginJob
29  void beginJob();
30 
31  // BeginRun
32  void beginRun(const edm::Run& r, const edm::EventSetup& c);
33 
34  // Fake Analyze
35  void analyze(const edm::Event& e, const edm::EventSetup& c);
36 
37  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
38  const edm::EventSetup& context);
39 
40  // DQM Client Diagnostic
41  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
42  const edm::EventSetup& c);
43 
44  // EndRun
45  void endRun(const edm::Run& r, const edm::EventSetup& c);
46 
47  // Endjob
48  void endJob();
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 
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
MonitorElement * deadTrue
MonitorElement * xTrue
MonitorElement * s1
MonitorElement * wExpFalse
DQMSourceExample(const edm::ParameterSet &)
MonitorElement * xFalse
MonitorElement * yFalse
MonitorElement * h4
MonitorElement * h2
MonitorElement * i1
MonitorElement * summ
MonitorElement * h3
MonitorElement * h1hist
MonitorElement * meanTrue
MonitorElement * noisyTrue
MonitorElement * h1
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
void analyze(const edm::Event &e, const edm::EventSetup &c)
edm::ParameterSet parameters_
MonitorElement * noisyFalse
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)
MonitorElement * p2
Definition: Run.h:42
void beginRun(const edm::Run &r, const edm::EventSetup &c)