CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
< TrajectorySeed
BTSeedCollection
 
typedef std::pair< const
Trajectory *, reco::TrackRef
TrackCand
 

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

Definition at line 26 of file TrackerSeedGenerator.h.

Definition at line 30 of file TrackerSeedGenerator.h.

Constructor & Destructor Documentation

TrackerSeedGenerator::TrackerSeedGenerator ( )
inline

Definition at line 28 of file TrackerSeedGenerator.h.

28 : theEvent(nullptr), theProxyService(nullptr) {}
const edm::Event * theEvent
const MuonServiceProxy * theProxyService
virtual TrackerSeedGenerator::~TrackerSeedGenerator ( )
inlinevirtual

destructor

Definition at line 35 of file TrackerSeedGenerator.h.

35 {}

Member Function Documentation

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
void TrackerSeedGenerator::init ( const MuonServiceProxy service)
virtual

Reimplemented in FastTSGFromPropagation, TSGForRoadSearch, TSGFromPropagation, and CompositeTSG.

Definition at line 6 of file TrackerSeedGenerator.cc.

References theProxyService.

6 { theProxyService = service; }
const MuonServiceProxy * theProxyService
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  {}
void TrackerSeedGenerator::setEvent ( const edm::Event event)
virtual

Reimplemented in FastTSGFromPropagation, TSGForRoadSearch, TSGFromPropagation, and CompositeTSG.

Definition at line 16 of file TrackerSeedGenerator.cc.

References edmPickEvents::event, and theEvent.

16 { theEvent = &event; }
const edm::Event * theEvent
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(), run(), theEvent, and theProxyService.

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

Member Data Documentation

const edm::Event* TrackerSeedGenerator::theEvent
protected

Definition at line 50 of file TrackerSeedGenerator.h.

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

const MuonServiceProxy* TrackerSeedGenerator::theProxyService
protected

Definition at line 51 of file TrackerSeedGenerator.h.

Referenced by init(), and trackerSeeds().