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
18 
19 //
20 // class declaration
21 //
22 namespace beamcond {
23  struct RunCache {
24  // MonitorElements
27  };
28 };
29 
30 class BeamConditionsMonitor : public DQMGlobalEDAnalyzer<beamcond::RunCache, edm::LuminosityBlockCache<void>> {
31  public:
33  ~BeamConditionsMonitor() override = default;
34 
35  protected:
36 
37  // Book Histograms
39 
40  // Fake Analyze
41  void dqmAnalyze(const edm::Event& e, const edm::EventSetup& c, beamcond::RunCache const& ) const override;
42 
43  // DQM Client Diagnostic (come from edm::LuminosityBlockCache use)
44  std::shared_ptr<void> globalBeginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
45  const edm::EventSetup& c) const override;
46  void globalEndLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) const override;
47 
48  private:
49 
51  const edm::InputTag bsSrc_; // beam spot
52 
53 };
54 
55 #endif
ConcurrentMonitorElement h_x0_lumi
example_global void dqmAnalyze(edm::Event const &,@example_global edm::EventSetup const &,@example_global Histograms___class__ const &) const override
const edm::InputTag bsSrc_
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
ConcurrentMonitorElement h_y0_lumi
Definition: Run.h:45