CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
OuterEstimator< Algo > Class Template Referencefinal

#include <OuterEstimator.h>

Inheritance diagram for OuterEstimator< Algo >:
MeasurementEstimator

Public Types

using OuterHitCompat = OuterHitCompatibility< Algo >
 
- Public Types inherited from MeasurementEstimator
using HitReturnType = std::pair< bool, double >
 
using Local2DVector = Vector2DBase< float, LocalTag >
 
using SurfaceReturnType = bool
 

Public Member Functions

GlobalPoint center ()
 
OuterEstimatorclone () const override
 
const OuterDetCompatibilitydetCompatibility () const
 
std::pair< bool, double > estimate (const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
 
bool estimate (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
 
const OuterHitCompathitCompatibility () const
 
MeasurementEstimator::Local2DVector maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
 
 OuterEstimator (const OuterDetCompatibility &detCompatibility, const OuterHitCompat &hitCompatibility)
 
 ~OuterEstimator () override
 
- Public Member Functions inherited from MeasurementEstimator
virtual SurfaceReturnType estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const =0
 
virtual Local2DVector maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const =0
 
float maxSagitta () const
 
 MeasurementEstimator ()
 
 MeasurementEstimator (float maxSag, float minToll, float mpt)
 
float minPt2ForHitRecoveryInGluedDet () const
 
float minTolerance2 () const
 
virtual bool preFilter (const TrajectoryStateOnSurface &, OpaquePayload const &) const
 
virtual ~MeasurementEstimator ()
 

Private Attributes

OuterDetCompatibility theDetCompatibility
 
OuterHitCompat theHitCompatibility
 

Detailed Description

template<typename Algo>
class OuterEstimator< Algo >

It is a MeasurementEstimator used by TrackingRegions for finding (OUTER) compatible hits and det units by testing the hit compatibility by OuterHitCompatibility and det compatibility by OuterDetCompatibility

Definition at line 21 of file OuterEstimator.h.

Member Typedef Documentation

◆ OuterHitCompat

template<typename Algo >
using OuterEstimator< Algo >::OuterHitCompat = OuterHitCompatibility<Algo>

Definition at line 23 of file OuterEstimator.h.

Constructor & Destructor Documentation

◆ OuterEstimator()

template<typename Algo >
OuterEstimator< Algo >::OuterEstimator ( const OuterDetCompatibility detCompatibility,
const OuterHitCompat hitCompatibility 
)
inline

Definition at line 25 of file OuterEstimator.h.

OuterDetCompatibility theDetCompatibility
const OuterHitCompat & hitCompatibility() const
OuterHitCompat theHitCompatibility
const OuterDetCompatibility & detCompatibility() const

◆ ~OuterEstimator()

template<typename Algo >
OuterEstimator< Algo >::~OuterEstimator ( )
inlineoverride

Definition at line 28 of file OuterEstimator.h.

28 {}

Member Function Documentation

◆ center()

template<typename Algo >
GlobalPoint OuterEstimator< Algo >::center ( )
inline

Definition at line 38 of file OuterEstimator.h.

38 { return theDetCompatibility.center(); }
OuterDetCompatibility theDetCompatibility
GlobalPoint center() const

◆ clone()

template<typename Algo >
OuterEstimator* OuterEstimator< Algo >::clone ( void  ) const
inlineoverridevirtual

Implements MeasurementEstimator.

Definition at line 40 of file OuterEstimator.h.

40 { return new OuterEstimator(*this); }
OuterEstimator(const OuterDetCompatibility &detCompatibility, const OuterHitCompat &hitCompatibility)

◆ detCompatibility()

template<typename Algo >
const OuterDetCompatibility& OuterEstimator< Algo >::detCompatibility ( ) const
inline

Definition at line 47 of file OuterEstimator.h.

47 { return theDetCompatibility; }
OuterDetCompatibility theDetCompatibility

◆ estimate() [1/2]

template<typename Algo >
std::pair<bool, double> OuterEstimator< Algo >::estimate ( const TrajectoryStateOnSurface ts,
const TrackingRecHit hit 
) const
inlineoverridevirtual

Returns pair( true, value) if the TrajectoryStateOnSurface is compatible with the RecHit, and pair( false, value) if it is not compatible. The TrajectoryStateOnSurface must be on the same Surface as the RecHit. For an estimator where there is no value computed, e.g. fixed window estimator, only the first(bool) part is of interest.

Implements MeasurementEstimator.

Definition at line 30 of file OuterEstimator.h.

30  {
31  return theHitCompatibility(hit) ? std::make_pair(true, 1.) : std::make_pair(false, 0.);
32  }
OuterHitCompat theHitCompatibility

◆ estimate() [2/2]

template<typename Algo >
bool OuterEstimator< Algo >::estimate ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const
inlineoverride

Definition at line 34 of file OuterEstimator.h.

34  {
35  return theDetCompatibility(plane);
36  }
OuterDetCompatibility theDetCompatibility

◆ hitCompatibility()

template<typename Algo >
const OuterHitCompat& OuterEstimator< Algo >::hitCompatibility ( ) const
inline

Definition at line 48 of file OuterEstimator.h.

48 { return theHitCompatibility; }
OuterHitCompat theHitCompatibility

◆ maximalLocalDisplacement()

template<typename Algo >
MeasurementEstimator::Local2DVector OuterEstimator< Algo >::maximalLocalDisplacement ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const
inlineoverride

Definition at line 42 of file OuterEstimator.h.

References TrajectoryStateOnSurface::globalPosition().

43  {
45  }
OuterDetCompatibility theDetCompatibility
GlobalPoint globalPosition() const
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const

Member Data Documentation

◆ theDetCompatibility

template<typename Algo >
OuterDetCompatibility OuterEstimator< Algo >::theDetCompatibility
private

Definition at line 51 of file OuterEstimator.h.

◆ theHitCompatibility

template<typename Algo >
OuterHitCompat OuterEstimator< Algo >::theHitCompatibility
private

Definition at line 52 of file OuterEstimator.h.