00001 #ifndef GsfElectronProducer_h 00002 #define GsfElectronProducer_h 00003 00004 // 00005 // Package: RecoEgamma/EgammaElectronProducers 00006 // Class: GsfElectronProducer 00007 // 00008 // Description: 00009 00010 00011 #include "FWCore/Framework/interface/EDProducer.h" 00012 #include "FWCore/Framework/interface/Event.h" 00013 #include "DataFormats/Common/interface/Handle.h" 00014 #include "FWCore/Framework/interface/EventSetup.h" 00015 00016 #include "DataFormats/Common/interface/EDProduct.h" 00017 00018 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00019 00020 class GsfElectronAlgo; 00021 00022 class GsfElectronProducer : public edm::EDProducer 00023 { 00024 public: 00025 00026 explicit GsfElectronProducer(const edm::ParameterSet& conf); 00027 00028 virtual ~GsfElectronProducer(); 00029 00030 virtual void beginJob(edm::EventSetup const&iSetup); 00031 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00032 00033 private: 00034 00035 GsfElectronAlgo* algo_; 00036 }; 00037 #endif