CMS 3D CMS Logo

DQMEDHarvester.h
Go to the documentation of this file.
1 #ifndef CORE_DQMED_HARVESTER_H
2 #define CORE_DQMED_HARVESTER_H
3 
10 
13 
14 class DQMEDHarvester: public edm::one::EDProducer<edm::Accumulator,
15  edm::EndLuminosityBlockProducer,
16  edm::EndRunProducer,
17  edm::one::WatchLuminosityBlocks,
18  edm::one::WatchRuns,
19  edm::one::SharedResources>
20 {
21 
22 public:
24  ~DQMEDHarvester() override = default;
25 
26  void accumulate(edm::Event const& ev, edm::EventSetup const& es) final {};
27 
28  void beginRun(edm::Run const&, edm::EventSetup const&) override {};
29  void endRun(edm::Run const&, edm::EventSetup const&) override {};
30  void endRunProduce(edm::Run& run, edm::EventSetup const& setup) override;
31 
33  void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const&) final;
35 
36  void endJob() final;
38  virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) = 0;
39 
40 protected:
43 };
44 
45 #endif // CORE_DQMED_HARVESTER_H
edm::EDPutTokenT< DQMToken > lumiToken_
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) final
void endRunProduce(edm::Run &run, edm::EventSetup const &setup) override
~DQMEDHarvester() override=default
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
bool ev
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) final
void endRun(edm::Run const &, edm::EventSetup const &) override
void endJob() final
void endLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) final
edm::EDPutTokenT< DQMToken > runToken_
void beginRun(edm::Run const &, edm::EventSetup const &) override
void accumulate(edm::Event const &ev, edm::EventSetup const &es) final
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)=0
Definition: Run.h:44
virtual void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)