00001 #ifndef RecoEcal_EgammaClusterProducers_UnifiedSCCollectionProducer_h_ 00002 #define RecoEcal_EgammaClusterProducers_UnifiedSCCollectionProducer_h_ 00003 00004 #include <memory> 00005 00006 #include "FWCore/Framework/interface/Frameworkfwd.h" 00007 #include "FWCore/Framework/interface/EDProducer.h" 00008 #include "FWCore/Framework/interface/Event.h" 00009 #include "FWCore/Framework/interface/EventSetup.h" 00010 00011 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00012 00013 #include "FWCore/Utilities/interface/InputTag.h" 00014 00015 class UnifiedSCCollectionProducer : public edm::EDProducer 00016 { 00017 00018 public: 00019 00020 UnifiedSCCollectionProducer(const edm::ParameterSet& ps); 00021 00022 ~UnifiedSCCollectionProducer(); 00023 00024 virtual void produce(edm::Event&, const edm::EventSetup&); 00025 00026 private: 00027 // the clean collection 00028 edm::InputTag cleanBcCollection_; 00029 edm::InputTag cleanScCollection_; 00030 // the uncleaned collection 00031 edm::InputTag uncleanBcCollection_; 00032 edm::InputTag uncleanScCollection_; 00033 // the names of the products to be produced: 00034 std::string bcCollection_; 00035 std::string scCollection_; 00036 std::string bcCollectionUncleanOnly_; 00037 std::string scCollectionUncleanOnly_; 00038 00039 00040 00041 }; 00042 00043 00044 #endif 00045 00046