CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 &, 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 18 of file TrackerSeedGenerator.h.

Member Typedef Documentation

Definition at line 21 of file TrackerSeedGenerator.h.

Definition at line 25 of file TrackerSeedGenerator.h.

Constructor & Destructor Documentation

TrackerSeedGenerator::TrackerSeedGenerator ( )
inline

Definition at line 23 of file TrackerSeedGenerator.h.

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

destructor

Definition at line 30 of file TrackerSeedGenerator.h.

30 {}

Member Function Documentation

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

Definition at line 36 of file TrackerSeedGenerator.h.

References theEvent.

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

36 { 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 40 of file TrackerSeedGenerator.h.

Referenced by trackerSeeds().

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

Reimplemented in FastTSGFromPropagation, TSGForRoadSearch, TSGFromPropagation, and CompositeTSG.

Definition at line 18 of file TrackerSeedGenerator.cc.

References event(), and theEvent.

Referenced by TSGFromL2Muon::produce().

19 {
20  theEvent = &event;
21 }
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,
TrackerSeedGenerator::BTSeedCollection result 
)
virtual

Reimplemented in TSGForRoadSearch, CompositeTSG, CombinedTSG, and SeparatingTSG.

Definition at line 11 of file TrackerSeedGenerator.cc.

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

Referenced by TSGFromL2Muon::produce().

13 {
15  run(result, *theEvent, es, region);
16  return ;
17 }
const edm::EventSetup & eventSetup() const
get the whole EventSetup
const edm::Event * theEvent
tuple result
Definition: query.py:137
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 43 of file TrackerSeedGenerator.h.

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

const MuonServiceProxy* TrackerSeedGenerator::theProxyService
protected

Definition at line 44 of file TrackerSeedGenerator.h.

Referenced by init(), and trackerSeeds().