Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:37

0001 #ifndef Integration_ThingWithMergeProducer_h
0002 #define Integration_ThingWithMergeProducer_h
0003 
0004 #include "FWCore/Framework/interface/Frameworkfwd.h"
0005 #include "FWCore/Framework/interface/one/EDProducer.h"
0006 
0007 #include <string>
0008 #include <vector>
0009 
0010 namespace edmtest {
0011   class ThingWithMergeProducer : public edm::one::EDProducer<edm::EndRunProducer,
0012                                                              edm::BeginRunProducer,
0013                                                              edm::BeginLuminosityBlockProducer,
0014                                                              edm::EndLuminosityBlockProducer,
0015                                                              edm::one::WatchRuns,
0016                                                              edm::one::WatchLuminosityBlocks> {
0017   public:
0018     explicit ThingWithMergeProducer(edm::ParameterSet const& ps);
0019 
0020     virtual ~ThingWithMergeProducer();
0021 
0022     void produce(edm::Event& e, edm::EventSetup const& c) override;
0023 
0024     void beginRun(edm::Run const& r, edm::EventSetup const& c) override;
0025 
0026     void endRun(edm::Run const& r, edm::EventSetup const& c) override;
0027 
0028     void beginLuminosityBlock(edm::LuminosityBlock const& lb, edm::EventSetup const& c) override;
0029 
0030     void endLuminosityBlock(edm::LuminosityBlock const& lb, edm::EventSetup const& c) override;
0031 
0032     void beginRunProduce(edm::Run& r, edm::EventSetup const& c) override;
0033 
0034     void endRunProduce(edm::Run& r, edm::EventSetup const& c) override;
0035 
0036     void beginLuminosityBlockProduce(edm::LuminosityBlock& lb, edm::EventSetup const& c) override;
0037 
0038     void endLuminosityBlockProduce(edm::LuminosityBlock& lb, edm::EventSetup const& c) override;
0039 
0040     static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0041 
0042   private:
0043     typedef std::vector<std::string>::const_iterator Iter;
0044 
0045     bool changeIsEqualValue_;
0046     std::vector<std::string> labelsToGet_;
0047     bool noPut_;
0048   };
0049 }  // namespace edmtest
0050 
0051 #endif