#include <RectangularEtaPhiTrackingRegion.h>
Public Types | |
typedef TkTrackingRegionsMargin< float > | Margin |
enum | UseMeasurementTracker { UseMeasurementTracker::kNever = -1, UseMeasurementTracker::kForSiStrips = 0, UseMeasurementTracker::kAlways = 1 } |
Public Types inherited from TrackingRegion | |
using | ctfHits = ctfseeding::SeedingLayer::Hits |
typedef SeedingLayerSetsHits::ConstRecHitPointer | Hit |
typedef SeedingLayerSetsHits::Hits | Hits |
typedef PixelRecoRange< float > | Range |
Public Member Functions | |
virtual HitRZCompatibility * | checkRZ (const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup, const DetLayer *outerlayer=0, float lr=0, float gz=0, float dr=0, float dz=0) const |
virtual RectangularEtaPhiTrackingRegion * | clone () const |
const Range & | etaRange () const |
allowed eta range [eta_min, eta_max] interval More... | |
virtual TrackingRegion::Hits | hits (const edm::Event &ev, const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const override |
get hits from layer compatible with region constraints More... | |
bool | isPrecise () const |
is precise error calculation switched on More... | |
virtual std::string | name () const |
RectangularEtaPhiTrackingRegion & | operator= (RectangularEtaPhiTrackingRegion const &)=delete |
RectangularEtaPhiTrackingRegion & | operator= (RectangularEtaPhiTrackingRegion &&)=default |
const Margin & | phiMargin () const |
virtual std::string | print () const |
RectangularEtaPhiTrackingRegion (RectangularEtaPhiTrackingRegion const &rh) | |
RectangularEtaPhiTrackingRegion (RectangularEtaPhiTrackingRegion &&)=default | |
RectangularEtaPhiTrackingRegion (const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, UseMeasurementTracker whereToUseMeasurementTracker=UseMeasurementTracker::kNever, bool precise=true, const MeasurementTrackerEvent *measurementTracker=0, bool etaPhiRegion=false) | |
RectangularEtaPhiTrackingRegion (const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, Margin etaMargin, Margin phiMargin, UseMeasurementTracker whereToUseMeasurementTracker=UseMeasurementTracker::kNever, bool precise=true, const MeasurementTrackerEvent *measurementTracker=0, bool etaPhiRegion=false) | |
RectangularEtaPhiTrackingRegion (const GlobalVector &dir, const GlobalPoint &vertexPos, Range invPtRange, float rVertex, float zVertex, Margin etaMargin, Margin phiMargin, UseMeasurementTracker whereToUseMeasurementTracker=UseMeasurementTracker::kNever, bool precise=true, const MeasurementTrackerEvent *measurementTracker=0, bool etaPhiRegion=false) | |
Public Member Functions inherited from TrackingRegion | |
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... | |
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 () |
Static Public Member Functions | |
static UseMeasurementTracker | doubleToUseMeasurementTracker (double value) |
static UseMeasurementTracker | intToUseMeasurementTracker (int value) |
Private Types | |
using | cacheHitPointer = mayown_ptr< BaseTrackerRecHit > |
using | cacheHits = std::vector< cacheHitPointer > |
Private Member Functions | |
HitRZCompatibility * | checkRZOld (const DetLayer *layer, const TrackingRecHit *outerHit, const edm::EventSetup &iSetup) const |
OuterEstimator * | estimator (const BarrelDetLayer *layer, const edm::EventSetup &iSetup) const |
OuterEstimator * | estimator (const ForwardDetLayer *layer, const edm::EventSetup &iSetup) const |
void | initEtaRange (const GlobalVector &dir, const Margin &margin) |
OuterHitPhiPrediction | phiWindow (const edm::EventSetup &iSetup) const |
HitRZConstraint | rzConstraint () const |
Private Attributes | |
cacheHits | cache |
Range | theEtaRange |
Range | theLambdaRange |
float | theMeanLambda |
const MeasurementTrackerEvent * | theMeasurementTracker |
const UseMeasurementTracker | theMeasurementTrackerUsage |
Margin | thePhiMargin |
bool | thePrecise |
bool | theUseEtaPhi |
A concrete implementation of TrackingRegion. Apart of vertex constraint from TrackingRegion in this implementation the region of interest is further constrainted in phi and eta around the direction of the region
Definition at line 29 of file RectangularEtaPhiTrackingRegion.h.
|
private |
Definition at line 203 of file RectangularEtaPhiTrackingRegion.h.
|
private |
Definition at line 204 of file RectangularEtaPhiTrackingRegion.h.
typedef TkTrackingRegionsMargin<float> RectangularEtaPhiTrackingRegion::Margin |
Definition at line 64 of file RectangularEtaPhiTrackingRegion.h.
Enumerator | |
---|---|
kNever | |
kForSiStrips | |
kAlways |
Definition at line 31 of file RectangularEtaPhiTrackingRegion.h.
|
inline |
Definition at line 49 of file RectangularEtaPhiTrackingRegion.h.
Referenced by clone().
|
default |
|
inline |
constructor (symmetric eta and phi margins).
dir - the direction around which region is constructed
the initial direction of the momentum of the particle should be in the range
phi of dir +- deltaPhi
eta of dir +- deltaEta
vertexPos - the position of the vertex (origin) of the of the region.
It is a centre of cylinder constraind with rVertex, zVertex. The track of the particle should cross the cylinder
WARNING: in the current implementaion the vertexPos is supposed to be placed on the beam line, i.e. to be of the form (0,0,float)
ptMin - minimal pt of interest
rVertex - radius of the cylinder around beam line where the tracks of interest should point to.
zVertex - half height of the cylinder around the beam line where the tracks of interest should point to.
deltaEta - allowed deviation of the initial direction of particle in eta in respect to direction of the region
deltaPhi - allowed deviation of the initial direction of particle in phi in respect to direction of the region whereToUseMeasurementTracker: 1=everywhere, 0=outside pixles, -1=nowhere
Definition at line 91 of file RectangularEtaPhiTrackingRegion.h.
|
inline |
constructor (asymmetrinc eta and phi margins).
non equal left-right eta and phi bounds around direction are possible. The ranges are defined using Margin
. the meaning of other arguments is the same as in the case of symmetring bounds to direction of the region.
Definition at line 112 of file RectangularEtaPhiTrackingRegion.h.
|
inline |
constructor (explicit pt range, asymmetrinc eta and phi margins).
the meaning of other arguments is the same as in the case of symmetring bounds to direction of the region.
Definition at line 131 of file RectangularEtaPhiTrackingRegion.h.
References initEtaRange().
|
inlinevirtual |
utility to check eta/theta hit compatibility with region constraints and outer hit constraint
Implements TrackingRegion.
Definition at line 162 of file RectangularEtaPhiTrackingRegion.h.
References checkRZOld().
|
private |
Definition at line 54 of file RectangularEtaPhiTrackingRegion.cc.
References funct::abs(), GeomDetEnumerators::barrel, SimpleLineRZ::cotLine(), f, TrackingRecHit::geographicalId(), edm::EventSetup::get(), GeomDetEnumerators::isBarrel(), TrackingRecHit::localPosition(), DetLayer::location(), bookConverter::max, min(), SurfaceOrientation::outer, PtMinSelector_cfg::ptMin, funct::sqr(), mathSSE::sqrt(), patCandidatesForDimuonsSequences_cff::tracker, vtxMean(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PixelRecoPointRZ::z(), PV3DBase< T, PVType, FrameType >::z(), and PixelRecoLineRZ::zAtR().
Referenced by checkRZ().
|
inlinevirtual |
Implements TrackingRegion.
Definition at line 169 of file RectangularEtaPhiTrackingRegion.h.
References RectangularEtaPhiTrackingRegion().
|
inlinestatic |
Definition at line 42 of file RectangularEtaPhiTrackingRegion.h.
References kAlways, kForSiStrips, and kNever.
Referenced by CandidateSeededTrackingRegionsProducer::CandidateSeededTrackingRegionsProducer(), L3MumuTrackingRegion::L3MumuTrackingRegion(), PointSeededTrackingRegionsProducer::PointSeededTrackingRegionsProducer(), TauRegionalPixelSeedGenerator::TauRegionalPixelSeedGenerator(), and TrackingRegionsFromBeamSpotAndL2Tau::TrackingRegionsFromBeamSpotAndL2Tau().
|
private |
Definition at line 132 of file RectangularEtaPhiTrackingRegion.cc.
References funct::abs(), Surface::bounds(), PixelRecoRange< T >::empty(), reco::helper::VirtualJetProducerHelper::intersection(), PixelRecoRange< T >::intersection(), Bounds::length(), PixelRecoUtilities::longitudinalBendingCorrection(), PixelRecoRange< T >::max(), bookConverter::max, PixelRecoRange< T >::mean(), PixelRecoRange< T >::min(), min(), GeometricSearchDet::position(), PtMinSelector_cfg::ptMin, CosmicsPD_Skims::radius, HitZCheck::range(), OuterHitPhiPrediction::setTolerance(), HitZCheck::setTolerance(), BarrelDetLayer::specificSurface(), funct::sqr(), mathSSE::sqrt(), BarrelDetLayer::surface(), Bounds::thickness(), w2, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 194 of file RectangularEtaPhiTrackingRegion.cc.
References funct::abs(), Surface::bounds(), PixelRecoRange< T >::empty(), reco::helper::VirtualJetProducerHelper::intersection(), PixelRecoRange< T >::intersection(), PixelRecoUtilities::longitudinalBendingCorrection(), PixelRecoRange< T >::max(), PixelRecoRange< T >::mean(), PixelRecoRange< T >::min(), GeometricSearchDet::position(), PtMinSelector_cfg::ptMin, OuterHitPhiPrediction::setTolerance(), ForwardDetLayer::specificSurface(), funct::sqr(), mathSSE::sqrt(), ForwardDetLayer::surface(), Bounds::thickness(), w2, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
allowed eta range [eta_min, eta_max] interval
Definition at line 148 of file RectangularEtaPhiTrackingRegion.h.
References theEtaRange.
Referenced by FastTSGFromL2Muon::clean(), FastTSGFromIOHit::clean(), TrackerSeedCleaner::clean(), GlobalTrajectoryBuilderBase::defineRegionOfInterest(), and SeedFromConsecutiveHitsCreator::makeSeed().
|
overridevirtual |
get hits from layer compatible with region constraints
Implements TrackingRegion.
Definition at line 286 of file RectangularEtaPhiTrackingRegion.cc.
References alongMomentum, GeomDetEnumerators::barrel, newFWLiteAna::build, funct::cos(), SeedingLayerSetsHits::SeedingLayer::detLayer(), dir, GeomDetEnumerators::endcap, HLT_25ns14e33_v1_cff::estimator, f, edm::EventSetup::get(), h, OuterEstimator::hitCompatibility(), SeedingLayerSetsHits::SeedingLayer::hits(), DetLayer::location(), LogDebug, phi(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, edm::ESHandle< class >::product(), LayerMeasurements::recHits(), query::result, makeMuonMisalignmentScenario::rot, funct::sin(), and DetLayer::subDetector().
|
private |
Definition at line 46 of file RectangularEtaPhiTrackingRegion.cc.
References eta, PV3DBase< T, PVType, FrameType >::eta(), TkTrackingRegionsMargin< T >::left(), and TkTrackingRegionsMargin< T >::right().
Referenced by RectangularEtaPhiTrackingRegion().
|
inlinestatic |
Definition at line 37 of file RectangularEtaPhiTrackingRegion.h.
References assert(), and relativeConstraints::value.
Referenced by MuonTrackingRegionBuilder::build(), and SeedFilter::SeedFilter().
|
inline |
is precise error calculation switched on
Definition at line 155 of file RectangularEtaPhiTrackingRegion.h.
References thePrecise.
|
inlinevirtual |
Reimplemented from TrackingRegion.
Definition at line 173 of file RectangularEtaPhiTrackingRegion.h.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and config.CFG::__str__().
|
delete |
|
default |
|
inline |
defined phi range around phi0, margin is [phi_left,phi_right]. region is defined in a range: [phi0-phi_left, phi0+phi_right]
Definition at line 152 of file RectangularEtaPhiTrackingRegion.h.
References thePhiMargin.
Referenced by FastTSGFromL2Muon::clean(), FastTSGFromIOHit::clean(), TrackerSeedCleaner::clean(), GlobalTrajectoryBuilderBase::defineRegionOfInterest(), and SeedFromConsecutiveHitsCreator::makeSeed().
|
private |
Definition at line 252 of file RectangularEtaPhiTrackingRegion.cc.
References PixelRecoUtilities::curvature(), bookConverter::max, and min().
|
virtual |
Reimplemented from TrackingRegion.
Definition at line 398 of file RectangularEtaPhiTrackingRegion.cc.
References TrackingRegion::print().
|
private |
Definition at line 265 of file RectangularEtaPhiTrackingRegion.cc.
References PixelRecoPointRZ::z().
|
mutableprivate |
Definition at line 212 of file RectangularEtaPhiTrackingRegion.h.
|
private |
Definition at line 192 of file RectangularEtaPhiTrackingRegion.h.
Referenced by etaRange().
|
private |
Definition at line 193 of file RectangularEtaPhiTrackingRegion.h.
|
private |
Definition at line 195 of file RectangularEtaPhiTrackingRegion.h.
|
private |
Definition at line 199 of file RectangularEtaPhiTrackingRegion.h.
|
private |
Definition at line 196 of file RectangularEtaPhiTrackingRegion.h.
|
private |
Definition at line 194 of file RectangularEtaPhiTrackingRegion.h.
Referenced by phiMargin().
|
private |
Definition at line 197 of file RectangularEtaPhiTrackingRegion.h.
Referenced by isPrecise().
|
private |
Definition at line 198 of file RectangularEtaPhiTrackingRegion.h.