CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes | Private Member Functions
TrackerSeedGenerator Class Reference

#include <TrackerSeedGenerator.h>

Inheritance diagram for TrackerSeedGenerator:
CompositeTSG FastTSGFromIOHit FastTSGFromPropagation TSGForRoadSearch TSGFromOrderedHits TSGFromPropagation TSGSmart CombinedTSG SeparatingTSG DualByEtaTSG DualByL2TSG

Public Types

typedef std::vector< TrajectorySeedBTSeedCollection
 
typedef std::pair< const Trajectory *, reco::TrackRefTrackCand
 

Public Member Functions

const edm::EventgetEvent () 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 More...
 

Protected Attributes

const edm::EventtheEvent
 
const MuonServiceProxytheProxyService
 

Private Member Functions

virtual void run (TrajectorySeedCollection &seeds, const edm::Event &ev, const edm::EventSetup &es, const TrackingRegion &region)
 

Detailed Description

Generate seed from muon trajectory.

Definition at line 24 of file TrackerSeedGenerator.h.

Member Typedef Documentation

◆ BTSeedCollection

Definition at line 26 of file TrackerSeedGenerator.h.

◆ TrackCand

Definition at line 30 of file TrackerSeedGenerator.h.

Constructor & Destructor Documentation

◆ TrackerSeedGenerator()

TrackerSeedGenerator::TrackerSeedGenerator ( )
inline

Definition at line 28 of file TrackerSeedGenerator.h.

28 : theEvent(nullptr), theProxyService(nullptr) {}
const edm::Event * theEvent
const MuonServiceProxy * theProxyService

◆ ~TrackerSeedGenerator()

virtual TrackerSeedGenerator::~TrackerSeedGenerator ( )
inlinevirtual

destructor

Definition at line 35 of file TrackerSeedGenerator.h.

35 {}

Member Function Documentation

◆ getEvent()

const edm::Event* TrackerSeedGenerator::getEvent ( ) const
inline

Definition at line 41 of file TrackerSeedGenerator.h.

References theEvent.

Referenced by DualByL2TSG::selectTSG(), and FastTSGFromIOHit::trackerSeeds().

41 { return theEvent; }
const edm::Event * theEvent

◆ init()

void TrackerSeedGenerator::init ( const MuonServiceProxy service)
virtual

Reimplemented in FastTSGFromPropagation, TSGForRoadSearch, TSGFromPropagation, and CompositeTSG.

Definition at line 6 of file TrackerSeedGenerator.cc.

References theProxyService.

const MuonServiceProxy * theProxyService

◆ run()

virtual void TrackerSeedGenerator::run ( TrajectorySeedCollection seeds,
const edm::Event ev,
const edm::EventSetup es,
const TrackingRegion region 
)
inlineprivatevirtual

Reimplemented in TSGFromOrderedHits, and TSGSmart.

Definition at line 44 of file TrackerSeedGenerator.h.

Referenced by trackerSeeds().

47  {}

◆ setEvent()

void TrackerSeedGenerator::setEvent ( const edm::Event event)
virtual

◆ trackerSeeds()

void TrackerSeedGenerator::trackerSeeds ( const TrackCand can,
const TrackingRegion region,
const TrackerTopology tTopo,
TrackerSeedGenerator::BTSeedCollection result 
)
virtual

Reimplemented in TSGForRoadSearch, CompositeTSG, CombinedTSG, and SeparatingTSG.

Definition at line 8 of file TrackerSeedGenerator.cc.

References MuonServiceProxy::eventSetup(), nano_mu_digi_cff::region, mps_fire::result, run(), theEvent, and theProxyService.

11  {
13  run(result, *theEvent, es, region);
14  return;
15 }
const edm::Event * theEvent
virtual void run(TrajectorySeedCollection &seeds, const edm::Event &ev, const edm::EventSetup &es, const TrackingRegion &region)
const MuonServiceProxy * theProxyService
const edm::EventSetup & eventSetup() const

Member Data Documentation

◆ theEvent

const edm::Event* TrackerSeedGenerator::theEvent
protected

Definition at line 50 of file TrackerSeedGenerator.h.

Referenced by getEvent(), CompositeTSG::setEvent(), setEvent(), and trackerSeeds().

◆ theProxyService

const MuonServiceProxy* TrackerSeedGenerator::theProxyService
protected

Definition at line 51 of file TrackerSeedGenerator.h.

Referenced by init(), and trackerSeeds().