CMS 3D CMS Logo

DQMEDAnalyzer.h
Go to the documentation of this file.
1 #ifndef DQMServices_Core_DQMEDAnalyzer_h
2 #define DQMServices_Core_DQMEDAnalyzer_h
3 
12 
15 
16 class DQMEDAnalyzer : public edm::one::EDProducer<edm::Accumulator,
17  edm::EndLuminosityBlockProducer,
18  edm::EndRunProducer,
19  edm::one::WatchLuminosityBlocks,
20  edm::one::WatchRuns>
21 {
22 public:
23  DQMEDAnalyzer();
24  ~DQMEDAnalyzer() override = default;
25  DQMEDAnalyzer(DQMEDAnalyzer const&) = delete;
26  DQMEDAnalyzer(DQMEDAnalyzer &&) = delete;
27 
28  void beginRun(edm::Run const& run, edm::EventSetup const& setup) final;
29 
30  void endRun(edm::Run const& run, edm::EventSetup const& setup) override;
31  void endRunProduce(edm::Run& run, edm::EventSetup const& setup) override;
32 
33  void beginLuminosityBlock(edm::LuminosityBlock const& lumi, edm::EventSetup const& setup) override;
34 
35  void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
36 
37  void endLuminosityBlockProduce(edm::LuminosityBlock & lumi, edm::EventSetup const& setup) final;
38 
39 
40  virtual void dqmBeginRun(edm::Run const&, edm::EventSetup const&);
41  virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const&, edm::EventSetup const&) = 0;
42 
43  virtual void analyze(edm::Event const&, edm::EventSetup const&);
44  void accumulate(edm::Event const& ev, edm::EventSetup const& es) final;
45 
46 protected:
49 
50 };
51 
52 #endif // DQMServices_Core_DQMEDAnalyzer_h
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
void endLuminosityBlockProduce(edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
bool ev
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
void beginRun(edm::Run const &run, edm::EventSetup const &setup) final
Definition: DQMEDAnalyzer.cc:8
virtual void analyze(edm::Event const &, edm::EventSetup const &)
edm::EDPutTokenT< DQMToken > runToken_
Definition: DQMEDAnalyzer.h:48
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
~DQMEDAnalyzer() override=default
void accumulate(edm::Event const &ev, edm::EventSetup const &es) final
void endRun(edm::Run const &run, edm::EventSetup const &setup) override
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
void endRunProduce(edm::Run &run, edm::EventSetup const &setup) override
Definition: Run.h:44
edm::EDPutTokenT< DQMToken > lumiToken_
Definition: DQMEDAnalyzer.h:47