CMS 3D CMS Logo

ThingProducer.h
Go to the documentation of this file.
1 #ifndef Integration_ThingProducer_h
2 #define Integration_ThingProducer_h
3 
13 #include "ThingAlgorithm.h"
15 
16 #include "DataFormats/TestObjects/interface/ThingCollection.h"
17 
18 namespace edmtest {
19  class ThingProducer : public edm::global::EDProducer<edm::BeginRunProducer,
20  edm::EndRunProducer,
21  edm::EndLuminosityBlockProducer,
22  edm::BeginLuminosityBlockProducer> {
23  public:
24  explicit ThingProducer(edm::ParameterSet const& ps);
25 
26  ~ThingProducer() override;
27 
28  void produce(edm::StreamID, edm::Event& e, edm::EventSetup const& c) const override;
29 
30  void globalBeginRunProduce(edm::Run& r, edm::EventSetup const& c) const override;
31 
32  void globalEndRunProduce(edm::Run& r, edm::EventSetup const& c) const override;
33 
35 
37 
38  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
39 
40  private:
47  bool noPut_;
48  };
49 } // namespace edmtest
50 #endif
void globalBeginRunProduce(edm::Run &r, edm::EventSetup const &c) const override
void produce(edm::StreamID, edm::Event &e, edm::EventSetup const &c) const override
void globalEndLuminosityBlockProduce(edm::LuminosityBlock &lb, edm::EventSetup const &c) const override
edm::EDPutTokenT< ThingCollection > evToken_
Definition: ThingProducer.h:42
edm::EDPutTokenT< ThingCollection > elToken_
Definition: ThingProducer.h:46
void globalBeginLuminosityBlockProduce(edm::LuminosityBlock &lb, edm::EventSetup const &c) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ThingProducer(edm::ParameterSet const &ps)
Definition: ThingProducer.cc:8
void globalEndRunProduce(edm::Run &r, edm::EventSetup const &c) const override
edm::EDPutTokenT< ThingCollection > blToken_
Definition: ThingProducer.h:45
edm::EDPutTokenT< ThingCollection > erToken_
Definition: ThingProducer.h:44
Definition: Run.h:45
ThingAlgorithm alg_
Definition: ThingProducer.h:41
edm::EDPutTokenT< ThingCollection > brToken_
Definition: ThingProducer.h:43