Go to the documentation of this file. 1 #ifndef TrackingRegion_H
2 #define TrackingRegion_H
89 virtual std::unique_ptr<HitRZCompatibility>
checkRZ(
const DetLayer* layer,
92 const DetLayer* outerlayer =
nullptr,
96 float dz = 0)
const = 0;
107 std::vector<bool> region_mask(
tracks.size(),
false);
116 auto restr =
clone();
117 restr->theVertexPos = originPos;
123 virtual std::unique_ptr<TrackingRegion>
clone()
const = 0;
127 std::ostringstream
str;
GlobalPoint const & origin() const
std::vector< bool > checkTracks(reco::TrackCollection const &tracks) const
return a boolean mask over the TrackCollection reflecting the compatibility of each track with the re...
Range invPtRange() const
inverse pt range
TrackingRegion(const GlobalVector &direction, const GlobalPoint &originPos, const Range &invPtRange, const float &originRBound, const float &originZBound)
std::unique_ptr< TrackingRegion > restrictedRegion(const GlobalPoint &originPos, const float &originRBound, const float &originZBound) const
clone region with new vertex position
GlobalVector theDirection
virtual Hits hits(const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const =0
get hits from layer compatible with region constraints
virtual void checkTracks(reco::TrackCollection const &tracks, std::vector< bool > &mask) const =0
virtual std::string print() const
SeedingLayerSetsHits::Hits Hits
GlobalVector theUnitDirection
float phiDirection() const
BaseTrackerRecHit const * ConstRecHitPointer
float ptMin() const
minimal pt of interest
float originRBound() const
bounds the particle vertex in the transverse plane
float originZBound() const
bounds the particle vertex in the longitudinal plane
GlobalVector const & direction() const
the direction around which region is constructed
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
SeedingLayerSetsHits::ConstRecHitPointer Hit
virtual std::unique_ptr< TrackingRegion > clone() const =0
PixelRecoRange< float > Range
Basic3DVector unit() const
GlobalVector const & unitDirection() const
std::vector< ConstRecHitPointer > Hits
Abs< T >::type abs(const T &t)
virtual std::string name() const
std::vector< Track > TrackCollection
collection of Tracks
virtual ~TrackingRegion()