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 19 of file TrackerSeedGenerator.h.

Member Typedef Documentation

Definition at line 22 of file TrackerSeedGenerator.h.

Definition at line 26 of file TrackerSeedGenerator.h.

Constructor & Destructor Documentation

TrackerSeedGenerator::TrackerSeedGenerator ( )
inline

Definition at line 24 of file TrackerSeedGenerator.h.

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

destructor

Definition at line 31 of file TrackerSeedGenerator.h.

31 {}

Member Function Documentation

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

Definition at line 37 of file TrackerSeedGenerator.h.

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

37 { 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.

Referenced by TSGFromL2Muon::beginRun().

7 {
8  theProxyService = service;
9 }
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 41 of file TrackerSeedGenerator.h.

Referenced by trackerSeeds().

42  {}
void TrackerSeedGenerator::setEvent ( const edm::Event event)
virtual

Reimplemented in FastTSGFromPropagation, TSGForRoadSearch, TSGFromPropagation, and CompositeTSG.

Definition at line 19 of file TrackerSeedGenerator.cc.

References event(), and theEvent.

Referenced by TSGFromL2Muon::produce().

20 {
21  theEvent = &event;
22 }
const edm::Event * theEvent
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
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 11 of file TrackerSeedGenerator.cc.

References MuonServiceProxy::eventSetup(), mathSSE::return(), run(), theEvent, and theProxyService.

Referenced by TSGFromL2Muon::produce().

14 {
16  run(result, *theEvent, es, region);
17  return ;
18 }
const edm::EventSetup & eventSetup() const
get the whole EventSetup
const edm::Event * theEvent
return((rh^lh)&mask)
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 44 of file TrackerSeedGenerator.h.

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

const MuonServiceProxy* TrackerSeedGenerator::theProxyService
protected

Definition at line 45 of file TrackerSeedGenerator.h.

Referenced by init(), and trackerSeeds().