00001 #ifndef PhysicsTools_TagAndProbe_ElectronMatchedCandidateProducer_h 00002 #define PhysicsTools_TagAndProbe_ElectronMatchedCandidateProducer_h 00003 00004 // system include files 00005 #include <memory> 00006 00007 // user include files 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDProducer.h" 00010 #include "FWCore/Framework/interface/Event.h" 00011 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00012 00013 00014 // forward declarations 00015 00016 class ElectronMatchedCandidateProducer : public edm::EDProducer 00017 { 00018 public: 00019 explicit ElectronMatchedCandidateProducer(const edm::ParameterSet&); 00020 ~ElectronMatchedCandidateProducer(); 00021 00022 private: 00023 virtual void beginJob() ; 00024 virtual void produce(edm::Event&, const edm::EventSetup&); 00025 virtual void endJob() ; 00026 00027 // ----------member data --------------------------- 00028 00029 edm::InputTag electronCollection_; 00030 edm::InputTag scCollection_; 00031 double delRMatchingCut_; 00032 }; 00033 00034 #endif