CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BeamConditionsMonitor.h
Go to the documentation of this file.
1 #ifndef BeamConditionsMonitor_H
2 #define BeamConditionsMonitor_H
3 
10 // C++
11 #include <string>
12 // CMS
21 
22 //
23 // class declaration
24 //
25 class BeamSpotObjectsRcd;
27 public:
29  ~BeamConditionsMonitor() override;
30 
33 
34 protected:
35  // BeginJob
36  void beginJob() override;
37 
38  // BeginRun
39  void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
40 
41  // Fake Analyze
42  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
43 
44  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& context) override;
45 
46  // DQM Client Diagnostic
47  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) override;
48 
49  // EndRun
50  void endRun(const edm::Run& r, const edm::EventSetup& c) override;
51 
52  // Endjob
53  void endJob() override;
54 
55 private:
58  edm::InputTag bsSrc_; // beam spot
60  bool debug_;
61 
63 
64  int countEvt_; //counter
65  int countLumi_; //counter
66 
67  // ----------member data ---------------------------
69 
70  // MonitorElements
73 };
74 
75 #endif
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
const edm::EventSetup & c
dqm::legacy::DQMStore DQMStore
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
void endRun(const edm::Run &r, const edm::EventSetup &c) override
edm::ParameterSet parameters_
BeamConditionsMonitor(const edm::ParameterSet &)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > beamSpotToken_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
dqm::legacy::MonitorElement MonitorElement
Definition: Run.h:45