00001 #include "RecoMuon/TrackerSeedGenerator/interface/TrackerSeedGenerator.h" 00002 #include "DataFormats/TrackerCommon/interface/TrackerTopology.h" 00003 00004 #include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h" 00005 00006 void TrackerSeedGenerator::init(const MuonServiceProxy *service) 00007 { 00008 theProxyService = service; 00009 } 00010 00011 void TrackerSeedGenerator::trackerSeeds(const TrackCand& can, 00012 const TrackingRegion& region, 00013 const TrackerTopology *tTopo, TrackerSeedGenerator::BTSeedCollection & result) 00014 { 00015 const edm::EventSetup & es = theProxyService->eventSetup(); 00016 run(result, *theEvent, es, region); 00017 return ; 00018 } 00019 void TrackerSeedGenerator::setEvent(const edm::Event& event) 00020 { 00021 theEvent = &event; 00022 }