CMS 3D CMS Logo

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 
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
59  bool debug_;
60 
62 
63  int countEvt_; //counter
64  int countLumi_; //counter
65 
66  // ----------member data ---------------------------
68 
69  // MonitorElements
72 };
73 
74 #endif
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
BeamConditionsMonitor::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: BeamConditionsMonitor.cc:59
edm::Run
Definition: Run.h:45
BeamConditionsMonitor::bsSrc_
edm::InputTag bsSrc_
Definition: BeamConditionsMonitor.h:58
BeamConditionsMonitor::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: BeamConditionsMonitor.cc:67
BeamConditionsMonitor::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: BeamConditionsMonitor.h:31
BeamConditionsMonitor::h_y0_lumi
MonitorElement * h_y0_lumi
Definition: BeamConditionsMonitor.h:71
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
EDAnalyzer.h
BeamConditionsMonitor::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: BeamConditionsMonitor.h:32
BeamConditionsMonitor::parameters_
edm::ParameterSet parameters_
Definition: BeamConditionsMonitor.h:56
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
BeamConditionsMonitor::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: BeamConditionsMonitor.cc:81
BeamConditionsMonitor::endLuminosityBlock
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
Definition: BeamConditionsMonitor.cc:75
BeamConditionsMonitor::dbe_
DQMStore * dbe_
Definition: BeamConditionsMonitor.h:61
BeamSpotObjects.h
BeamConditionsMonitor::condBeamSpot
BeamSpotObjects condBeamSpot
Definition: BeamConditionsMonitor.h:67
dqm::legacy::DQMStore
Definition: DQMStore.h:727
BeamSpot.h
BeamConditionsMonitor::BeamConditionsMonitor
BeamConditionsMonitor(const edm::ParameterSet &)
Definition: BeamConditionsMonitor.cc:27
BeamConditionsMonitor::~BeamConditionsMonitor
~BeamConditionsMonitor() override
Definition: BeamConditionsMonitor.cc:39
BeamConditionsMonitor::endJob
void endJob() override
Definition: BeamConditionsMonitor.cc:83
BeamConditionsMonitor::monitorName_
std::string monitorName_
Definition: BeamConditionsMonitor.h:57
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonitorElement.h
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
BeamConditionsMonitor::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
Definition: BeamConditionsMonitor.cc:62
BeamSpotObjects
Definition: BeamSpotObjects.h:20
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
BeamConditionsMonitor::h_x0_lumi
MonitorElement * h_x0_lumi
Definition: BeamConditionsMonitor.h:70
BeamConditionsMonitor::debug_
bool debug_
Definition: BeamConditionsMonitor.h:59
alignCSCRings.r
r
Definition: alignCSCRings.py:93
Frameworkfwd.h
BeamConditionsMonitor::countLumi_
int countLumi_
Definition: BeamConditionsMonitor.h:64
ParameterSet.h
BeamConditionsMonitor::beginJob
void beginJob() override
Definition: BeamConditionsMonitor.cc:42
edm::Event
Definition: Event.h:73
BeamConditionsMonitor
Definition: BeamConditionsMonitor.h:26
BeamConditionsMonitor::countEvt_
int countEvt_
Definition: BeamConditionsMonitor.h:63
edm::InputTag
Definition: InputTag.h:15
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37