00001 #ifndef MuonIsolation_ExtractorFromDeposits_H 00002 #define MuonIsolation_ExtractorFromDeposits_H 00003 00004 #include "PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h" 00005 00006 #include "DataFormats/RecoCandidate/interface/IsoDeposit.h" 00007 #include "DataFormats/TrackReco/interface/Track.h" 00008 #include "DataFormats/TrackReco/interface/TrackFwd.h" 00009 #include <string> 00010 00011 namespace muonisolation { 00012 00013 class ExtractorFromDeposits : public reco::isodeposit::IsoDepositExtractor { 00014 00015 public: 00016 00017 ExtractorFromDeposits(){}; 00018 ExtractorFromDeposits(const edm::ParameterSet& par); 00019 00020 virtual ~ExtractorFromDeposits(){} 00021 00022 virtual void fillVetos ( const edm::Event & ev, const edm::EventSetup & evSetup, 00023 const reco::TrackCollection & tracks); 00024 virtual reco::IsoDeposit deposit (const edm::Event & ev, const edm::EventSetup & evSetup, 00025 const reco::Track & track) const; 00026 virtual reco::IsoDeposit deposit (const edm::Event & ev, const edm::EventSetup & evSetup, 00027 const reco::TrackRef & track) const; 00028 00029 private: 00030 edm::InputTag theCollectionTag; 00031 }; 00032 00033 } 00034 00035 #endif 00036