#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 DetLayer *outerlayer=nullptr, float lr=0, float gz=0, float dr=0, float dz=0) const =0 |
virtual void | checkTracks (reco::TrackCollection const &tracks, std::vector< bool > &mask) 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 std::unique_ptr < TrackingRegion > | clone () const =0 |
GlobalVector const & | direction () const |
the direction around which region is constructed More... | |
virtual Hits | hits (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 () | |
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 40 of file TrackingRegion.h.
Definition at line 45 of file TrackingRegion.h.
Definition at line 46 of file TrackingRegion.h.
typedef PixelRecoRange<float> TrackingRegion::Range |
Definition at line 44 of file TrackingRegion.h.
|
inlinevirtual |
Definition at line 43 of file TrackingRegion.h.
|
inline |
Definition at line 49 of file TrackingRegion.h.
|
inline |
Definition at line 51 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.
Referenced by HitPairGeneratorFromLayerPair::doublets(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::hitPairs(), and HitPairGeneratorFromLayerPairForPhotonConversion::hitPairs().
|
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().
|
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().
|
pure virtual |
Implemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
Referenced by restrictedRegion().
|
inline |
the direction around which region is constructed
Definition at line 66 of file TrackingRegion.h.
References theDirection.
Referenced by GlobalTrajectoryBuilderBase::chooseRegionalTrackerTracks(), FastTSGFromL2Muon::clean(), FastTSGFromIOHit::clean(), TrackerSeedCleaner::clean(), CosmicSeedCreator::makeSeed(), SeedFromConsecutiveHitsCreator::makeSeed(), and TSGSmart::run().
|
pure virtual |
get hits from layer compatible with region constraints
Implemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
Referenced by LayerHitMapCache::operator()(), GenericTripletGenerator::run(), BeamHaloPairGenerator::run(), and GenericPairGenerator::run().
|
inline |
|
inlinevirtual |
Reimplemented in RectangularEtaPhiTrackingRegion, CosmicTrackingRegion, and GlobalTrackingRegion.
Definition at line 125 of file TrackingRegion.h.
Referenced by config.CFG::__str__(), geometryComparison.GeometryComparison::createScript(), validation.Sample::digest(), primaryVertexResolution.PrimaryVertexResolution::getRepMap(), primaryVertexValidation.PrimaryVertexValidation::getRepMap(), zMuMuValidation.ZMuMuValidation::getRepMap(), 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 75 of file TrackingRegion.h.
References theVertexPos.
Referenced by SeedForPhotonConversionFromQuadruplets::buildSeedBool(), CellularAutomaton::createAndConnectCells(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckRZCompatibility(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckSlopeTest(), CellularAutomaton::findTriplets(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getEffectiveErrorOnZ(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getSqrEffectiveErrorOnZ(), SeedForPhotonConversionFromQuadruplets::getSqrEffectiveErrorOnZ(), CAHitTripletGenerator::hitNtuplets(), CAHitQuadrupletGenerator::hitNtuplets(), HitPairGeneratorFromLayerPairForPhotonConversion::hitPairs(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), SeedFromConsecutiveHitsStraightLineCreator::initialKinematic(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), SeedFromConsecutiveHitsCreator::initialKinematic(), SeedFromConsecutiveHitsCreator::makeSeed(), LayerHitMapCache::operator()(), SeedFinderSelector::pass(), MultiHitGeneratorFromChi2::refit2Hits(), PixelNtupletsFitter::run(), PixelFitterByHelixProjections::run(), PixelFitterByConformalMappingAndLine::run(), KFBasedPixelFitter::run(), SeedForPhotonConversionFromQuadruplets::simpleGetSlope(), ThirdHitPrediction::ThirdHitPrediction(), and SeedForPhotonConversionFromQuadruplets::trajectorySeed().
|
inline |
bounds the particle vertex in the transverse plane
Definition at line 78 of file TrackingRegion.h.
References theVertexRBound.
Referenced by CellularAutomaton::createAndConnectCells(), CellularAutomaton::findTriplets(), MultiHitGeneratorFromChi2::hitSets(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), PixelTripletLargeTipGenerator::hitTriplets(), SeedFromConsecutiveHitsCreator::initialError(), SeedFromConsecutiveHitsCreator::makeSeed(), restrictedRegion(), KFBasedPixelFitter::run(), ThirdHitPrediction::ThirdHitPrediction(), and SeedForPhotonConversionFromQuadruplets::trajectorySeed().
|
inline |
bounds the particle vertex in the longitudinal plane
Definition at line 81 of file TrackingRegion.h.
References theVertexZBound.
Referenced by HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckSlopeTest(), SeedFromConsecutiveHitsCreator::initialError(), InnerDeltaPhi::InnerDeltaPhi(), SeedFromConsecutiveHitsCreator::makeSeed(), restrictedRegion(), KFBasedPixelFitter::run(), SeedForPhotonConversionFromQuadruplets::simpleGetSlope(), and SeedForPhotonConversionFromQuadruplets::trajectorySeed().
|
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 PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::loopOnPriVtx(), GlobalTrackingRegion::print(), and RectangularEtaPhiTrackingRegion::print().
|
inline |
minimal pt of interest
Definition at line 84 of file TrackingRegion.h.
References thePtMin.
Referenced by FastTSGFromL2Muon::clean(), FastTSGFromIOHit::clean(), TrackerSeedCleaner::clean(), CellularAutomaton::createAndConnectCells(), CellularAutomaton::findTriplets(), MultiHitGeneratorFromChi2::hitSets(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), PixelTripletLargeTipGenerator::hitTriplets(), SeedFromConsecutiveHitsCreator::initialError(), SeedFromConsecutiveHitsCreator::makeSeed(), KFBasedPixelFitter::run(), SimpleCosmicBONSeeder::seeds(), ThirdHitPrediction::ThirdHitPrediction(), SeedForPhotonConversionFromQuadruplets::trajectorySeed(), 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().