CMS 3D CMS Logo

ThingWithMergeProducer.h
Go to the documentation of this file.
1 #ifndef Integration_ThingWithMergeProducer_h
2 #define Integration_ThingWithMergeProducer_h
3 
6 
7 #include <string>
8 #include <vector>
9 
10 namespace edmtest {
11  class ThingWithMergeProducer : public edm::one::EDProducer<edm::EndRunProducer,
12  edm::BeginRunProducer,
13  edm::BeginLuminosityBlockProducer,
14  edm::EndLuminosityBlockProducer,
15  edm::one::WatchRuns,
16  edm::one::WatchLuminosityBlocks> {
17  public:
18  explicit ThingWithMergeProducer(edm::ParameterSet const& ps);
19 
20  ~ThingWithMergeProducer() override;
21 
22  void produce(edm::Event& e, edm::EventSetup const& c) override;
23 
24  void beginRun(edm::Run const& r, edm::EventSetup const& c) override;
25 
26  void endRun(edm::Run const& r, edm::EventSetup const& c) override;
27 
28  void beginLuminosityBlock(edm::LuminosityBlock const& lb, edm::EventSetup const& c) override;
29 
30  void endLuminosityBlock(edm::LuminosityBlock const& lb, edm::EventSetup const& c) override;
31 
32  void beginRunProduce(edm::Run& r, edm::EventSetup const& c) override;
33 
34  void endRunProduce(edm::Run& r, edm::EventSetup const& c) override;
35 
37 
39 
40  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
41 
42  private:
43  typedef std::vector<std::string>::const_iterator Iter;
44 
46  std::vector<std::string> labelsToGet_;
47  bool noPut_;
48  };
49 } // namespace edmtest
50 
51 #endif
void beginRunProduce(edm::Run &r, edm::EventSetup const &c) override
void produce(edm::Event &e, edm::EventSetup const &c) override
std::vector< std::string > labelsToGet_
std::vector< std::string >::const_iterator Iter
void beginLuminosityBlock(edm::LuminosityBlock const &lb, edm::EventSetup const &c) override
void beginLuminosityBlockProduce(edm::LuminosityBlock &lb, edm::EventSetup const &c) override
void beginRun(edm::Run const &r, edm::EventSetup const &c) override
void endRun(edm::Run const &r, edm::EventSetup const &c) override
void endRunProduce(edm::Run &r, edm::EventSetup const &c) override
void endLuminosityBlockProduce(edm::LuminosityBlock &lb, edm::EventSetup const &c) override
ThingWithMergeProducer(edm::ParameterSet const &ps)
void endLuminosityBlock(edm::LuminosityBlock const &lb, edm::EventSetup const &c) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Run.h:45