#include <TrackerSeedGenerator.h>
Public Types | |
typedef std::vector < TrajectorySeed > | BTSeedCollection |
typedef std::pair< const Trajectory *, reco::TrackRef > | TrackCand |
Public Member Functions | |
const edm::Event * | getEvent () const |
virtual void | init (const MuonServiceProxy *service) |
virtual void | setEvent (const edm::Event &) |
TrackerSeedGenerator () | |
virtual void | trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) |
virtual | ~TrackerSeedGenerator () |
destructor | |
Protected Attributes | |
const edm::Event * | theEvent |
const MuonServiceProxy * | theProxyService |
Private Member Functions | |
virtual void | run (TrajectorySeedCollection &seeds, const edm::Event &ev, const edm::EventSetup &es, const TrackingRegion ®ion) |
Generate seed from muon trajectory.
Definition at line 19 of file TrackerSeedGenerator.h.
typedef std::vector<TrajectorySeed> TrackerSeedGenerator::BTSeedCollection |
Reimplemented in CompositeTSG, and TSGForRoadSearch.
Definition at line 22 of file TrackerSeedGenerator.h.
typedef std::pair<const Trajectory*, reco::TrackRef> TrackerSeedGenerator::TrackCand |
Reimplemented in CompositeTSG, and TSGForRoadSearch.
Definition at line 26 of file TrackerSeedGenerator.h.
TrackerSeedGenerator::TrackerSeedGenerator | ( | ) | [inline] |
Definition at line 24 of file TrackerSeedGenerator.h.
: theEvent(0), theProxyService(0) {}
virtual TrackerSeedGenerator::~TrackerSeedGenerator | ( | ) | [inline, virtual] |
const edm::Event* TrackerSeedGenerator::getEvent | ( | ) | const [inline] |
Definition at line 37 of file TrackerSeedGenerator.h.
References theEvent.
Referenced by DualByL2TSG::selectTSG(), and FastTSGFromIOHit::trackerSeeds().
{ return theEvent;}
void TrackerSeedGenerator::init | ( | const MuonServiceProxy * | service | ) | [virtual] |
Reimplemented in FastTSGFromPropagation, CompositeTSG, TSGForRoadSearch, and TSGFromPropagation.
Definition at line 6 of file TrackerSeedGenerator.cc.
References theProxyService.
Referenced by TSGFromL2Muon::beginRun().
{ theProxyService = service; }
virtual void TrackerSeedGenerator::run | ( | TrajectorySeedCollection & | seeds, |
const edm::Event & | ev, | ||
const edm::EventSetup & | es, | ||
const TrackingRegion & | region | ||
) | [inline, private, virtual] |
Reimplemented in TSGFromOrderedHits, and TSGSmart.
Definition at line 41 of file TrackerSeedGenerator.h.
Referenced by trackerSeeds().
{}
void TrackerSeedGenerator::setEvent | ( | const edm::Event & | event | ) | [virtual] |
Reimplemented in FastTSGFromPropagation, CompositeTSG, TSGForRoadSearch, and TSGFromPropagation.
Definition at line 19 of file TrackerSeedGenerator.cc.
References event(), and theEvent.
Referenced by TSGFromL2Muon::produce().
void TrackerSeedGenerator::trackerSeeds | ( | const TrackCand & | can, |
const TrackingRegion & | region, | ||
const TrackerTopology * | tTopo, | ||
TrackerSeedGenerator::BTSeedCollection & | result | ||
) | [virtual] |
Reimplemented in FastTSGFromPropagation, CombinedTSG, CompositeTSG, SeparatingTSG, TSGForRoadSearch, and TSGFromPropagation.
Definition at line 11 of file TrackerSeedGenerator.cc.
References MuonServiceProxy::eventSetup(), run(), theEvent, and theProxyService.
Referenced by TSGFromL2Muon::produce().
{ const edm::EventSetup & es = theProxyService->eventSetup(); run(result, *theEvent, es, region); return ; }
const edm::Event* TrackerSeedGenerator::theEvent [protected] |
Definition at line 44 of file TrackerSeedGenerator.h.
Referenced by getEvent(), CompositeTSG::setEvent(), setEvent(), and trackerSeeds().
const MuonServiceProxy* TrackerSeedGenerator::theProxyService [protected] |
Reimplemented in CompositeTSG, and TSGForRoadSearch.
Definition at line 45 of file TrackerSeedGenerator.h.
Referenced by init(), and trackerSeeds().