#include <TrackingRegion.h>
Public Types | |
typedef SeedingLayerSetsHits::ConstRecHitPointer | Hit |
typedef SeedingLayerSetsHits::Hits | Hits |
typedef PixelRecoRange< float > | Range |
Public Member Functions | |
virtual std::unique_ptr< HitRZCompatibility > | checkRZ (const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup, const DetLayer *outerlayer=nullptr, float lr=0, float gz=0, float dr=0, float dz=0) const =0 |
std::vector< bool > | checkTracks (reco::TrackCollection const &tracks) const |
return a boolean mask over the TrackCollection reflecting the compatibility of each track with the region constraints More... | |
virtual void | checkTracks (reco::TrackCollection const &tracks, std::vector< bool > &mask) const =0 |
virtual std::unique_ptr< TrackingRegion > | clone () const =0 |
GlobalVector const & | direction () const |
the direction around which region is constructed More... | |
virtual Hits | hits (const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const =0 |
get hits from layer compatible with region constraints More... | |
Range | invPtRange () const |
inverse pt range More... | |
virtual std::string | name () const |
GlobalPoint const & | origin () const |
float | originRBound () const |
bounds the particle vertex in the transverse plane More... | |
float | originZBound () const |
bounds the particle vertex in the longitudinal plane More... | |
float | phiDirection () const |
virtual std::string | print () const |
float | ptMin () const |
minimal pt of interest More... | |
std::unique_ptr< TrackingRegion > | restrictedRegion (const GlobalPoint &originPos, const float &originRBound, const float &originZBound) const |
clone region with new vertex position More... | |
TrackingRegion (const GlobalVector &direction, const GlobalPoint &originPos, const Range &invPtRange, const float &originRBound, const float &originZBound) | |
GlobalVector const & | unitDirection () const |
virtual | ~TrackingRegion () |
Private Attributes | |
GlobalVector | theDirection |
Range | theInvPtRange |
float | thePhi |
float | thePtMin |
GlobalVector | theUnitDirection |
GlobalPoint | theVertexPos |
float | theVertexRBound |
float | theVertexZBound |
kinematic data common to some concreate implementations of TrackingRegion.
Definition at line 41 of file TrackingRegion.h.
Definition at line 46 of file TrackingRegion.h.
Definition at line 47 of file TrackingRegion.h.
typedef PixelRecoRange<float> TrackingRegion::Range |
Definition at line 45 of file TrackingRegion.h.
|
inlinevirtual |
Definition at line 44 of file TrackingRegion.h.
|
inline |
Definition at line 50 of file TrackingRegion.h.
|
pure virtual |
utility to check eta/theta hit compatibility with region constraints and outer hit constraint
Implemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
|
inline |
return a boolean mask over the TrackCollection reflecting the compatibility of each track with the region constraints
Definition at line 107 of file TrackingRegion.h.
References checkTracks(), and tracks.
|
pure virtual |
Set the elements of the mask corresponding to the tracks that are compatable with the region. Does not reset the elements corresponding to the tracks that are not compatible.
Implemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
Referenced by checkTracks().
|
pure virtual |
Implemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
Referenced by restrictedRegion().
|
inline |
the direction around which region is constructed
Definition at line 65 of file TrackingRegion.h.
References theDirection.
Referenced by GlobalTrajectoryBuilderBase::chooseRegionalTrackerTracks(), CosmicSeedCreator::makeSeed(), and SeedFromConsecutiveHitsCreator::makeSeed().
|
pure virtual |
get hits from layer compatible with region constraints
Implemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
|
inline |
|
inlinevirtual |
Reimplemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
Definition at line 125 of file TrackingRegion.h.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and print().
|
inline |
The origin (centre,vertex) of the region.
The origin with bounds is ment to constraint point of the
closest approach of the track to the beam line
Definition at line 74 of file TrackingRegion.h.
References theVertexPos.
Referenced by SeedFromConsecutiveHitsStraightLineCreator::initialKinematic(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), SeedFromConsecutiveHitsCreator::makeSeed(), and SeedFinderSelector::pass().
|
inline |
bounds the particle vertex in the transverse plane
Definition at line 77 of file TrackingRegion.h.
References theVertexRBound.
Referenced by SeedFromConsecutiveHitsCreator::initialError(), SeedFromConsecutiveHitsCreator::makeSeed(), and restrictedRegion().
|
inline |
bounds the particle vertex in the longitudinal plane
Definition at line 80 of file TrackingRegion.h.
References theVertexZBound.
Referenced by SeedFromConsecutiveHitsCreator::initialError(), SeedFromConsecutiveHitsCreator::makeSeed(), and restrictedRegion().
|
inline |
|
inlinevirtual |
Reimplemented in RectangularEtaPhiTrackingRegion, and GlobalTrackingRegion.
Definition at line 126 of file TrackingRegion.h.
References PixelRecoRange< T >::max(), name(), str, theDirection, theInvPtRange, theVertexPos, theVertexRBound, and theVertexZBound.
Referenced by GlobalTrackingRegion::print(), and RectangularEtaPhiTrackingRegion::print().
|
inline |
minimal pt of interest
Definition at line 83 of file TrackingRegion.h.
References thePtMin.
Referenced by SeedFromConsecutiveHitsCreator::initialError(), SeedFromConsecutiveHitsCreator::makeSeed(), SimpleCosmicBONSeeder::seeds(), and SimpleCosmicBONSeeder::triplets().
|
inline |
clone region with new vertex position
Definition at line 113 of file TrackingRegion.h.
References clone(), originRBound(), and originZBound().
|
inline |
|
private |
Definition at line 136 of file TrackingRegion.h.
Referenced by direction(), and print().
|
private |
Definition at line 139 of file TrackingRegion.h.
Referenced by invPtRange(), and print().
|
private |
Definition at line 140 of file TrackingRegion.h.
Referenced by phiDirection().
|
private |
Definition at line 141 of file TrackingRegion.h.
Referenced by ptMin().
|
private |
Definition at line 137 of file TrackingRegion.h.
Referenced by unitDirection().
|
private |
Definition at line 138 of file TrackingRegion.h.
|
private |
Definition at line 142 of file TrackingRegion.h.
Referenced by originRBound(), and print().
|
private |
Definition at line 143 of file TrackingRegion.h.
Referenced by originZBound(), and print().