#include <GlobalTrackingRegion.h>
Public Member Functions | |
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 override |
void | checkTracks (reco::TrackCollection const &tracks, std::vector< bool > &mask) const override |
std::unique_ptr< TrackingRegion > | clone () const override |
GlobalTrackingRegion (float ptMin, const GlobalPoint &origin, float originRadius, float originHalfLength, bool precise=false, bool useMS=false) | |
GlobalTrackingRegion (float ptMin=1., float originRadius=0.2, float originHalfLength=22.7, float originZPos=0., bool precise=false) | |
TrackingRegion::Hits | hits (const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const override |
get hits from layer compatible with region constraints More... | |
std::string | name () const override |
std::string | print () const override |
Public Member Functions inherited from TrackingRegion | |
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... | |
GlobalVector const & | direction () const |
the direction around which region is constructed More... | |
Range | invPtRange () const |
inverse pt range More... | |
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 |
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 | |
bool | thePrecise = false |
bool | theUseMS = false |
Additional Inherited Members | |
Public Types inherited from TrackingRegion | |
typedef SeedingLayerSetsHits::ConstRecHitPointer | Hit |
typedef SeedingLayerSetsHits::Hits | Hits |
typedef PixelRecoRange< float > | Range |
An implementation of the TrackingRegion where the region of interest is global, ie there are no constraints on the allowed direction of particles of interest
Definition at line 13 of file GlobalTrackingRegion.h.
|
inline |
Construct from minimal track P_t, and origin size and position. The origin region is a cylinder of radius originRadius, half length originHalfLength, positioned at "origin". This class DOES provide the possibility to displace the origin in the transverse plane.
Definition at line 21 of file GlobalTrackingRegion.h.
|
inline |
Definition at line 32 of file GlobalTrackingRegion.h.
|
overridevirtual |
utility to check eta/theta hit compatibility with region constraints and outer hit constraint
Implements TrackingRegion.
Definition at line 34 of file GlobalTrackingRegion.cc.
References alignCSCRings::corr, PixelRecoLineRZ::cotLine(), SimpleLineRZ::cotLine(), flavorHistoryFilter_cfi::dr, PVValHelper::dz, DetLayer::isBarrel(), GeomDetEnumerators::isBarrel(), fastTrackerRecHitType::isPixel(), nSigmaPhi, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, ptMin, DetLayer::seqNum(), sqr(), mathSSE::sqrt(), DetLayer::subDetector(), UNLIKELY, vtxMean(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
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.
Implements TrackingRegion.
Definition at line 116 of file GlobalTrackingRegion.cc.
References funct::abs(), cms::cuda::assert(), mps_fire::i, ptMin, HLT_FULL_cff::track, and PDWG_EXOHSCP_cff::tracks.
|
inlineoverridevirtual |
Implements TrackingRegion.
Definition at line 59 of file GlobalTrackingRegion.h.
|
overridevirtual |
get hits from layer compatible with region constraints
Implements TrackingRegion.
Definition at line 29 of file GlobalTrackingRegion.cc.
References SeedingLayerSetsHits::SeedingLayer::hits().
Referenced by SimpleCosmicBONSeeder::triplets().
|
inlineoverridevirtual |
Reimplemented from TrackingRegion.
Definition at line 61 of file GlobalTrackingRegion.h.
Referenced by config.CFG::__str__(), and validation.Sample::digest().
|
overridevirtual |
Reimplemented from TrackingRegion.
Definition at line 23 of file GlobalTrackingRegion.cc.
References TrackingRegion::print(), and str.
|
private |
Definition at line 65 of file GlobalTrackingRegion.h.
|
private |
Definition at line 66 of file GlobalTrackingRegion.h.