CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoMuon/TrackerSeedGenerator/src/TrackerSeedGenerator.cc

Go to the documentation of this file.
00001 #include "RecoMuon/TrackerSeedGenerator/interface/TrackerSeedGenerator.h"
00002 
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, TrackerSeedGenerator::BTSeedCollection & result)
00013 {
00014   const edm::EventSetup & es = theProxyService->eventSetup();
00015   run(result, *theEvent, es, region); 
00016   return ;
00017 }
00018 void TrackerSeedGenerator::setEvent(const edm::Event& event)
00019 {
00020   theEvent = &event;
00021 }