CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Private Attributes
MeasurementEstimator Class Referenceabstract

#include <MeasurementEstimator.h>

Inheritance diagram for MeasurementEstimator:
BarrelMeasurementEstimator Chi2MeasurementEstimatorBase ConversionBarrelEstimator ConversionForwardEstimator EtaPhiMeasurementEstimator ForwardMeasurementEstimator InsideBoundsMeasurementEstimator OuterEstimator< Algo >

Classes

struct  OpaquePayload
 

Public Types

using HitReturnType = std::pair< bool, double >
 
using Local2DVector = Vector2DBase< float, LocalTag >
 
using SurfaceReturnType = bool
 

Public Member Functions

virtual MeasurementEstimatorclone () const =0
 
virtual HitReturnType estimate (const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
 
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

float m_maxSagitta =-1.
 
float m_minPt2ForHitRecoveryInGluedDet =std::numeric_limits<float>::max()
 
float m_minTolerance2 =100.
 

Detailed Description

The MeasurementEstimator defines the compatibility of a TrajectoryStateOnSurface and a RecHit, and of a TrajectoryStateOnSurface and a Plane. It is used in the Det interface to obtain compatible measurements.

Definition at line 20 of file MeasurementEstimator.h.

Member Typedef Documentation

using MeasurementEstimator::HitReturnType = std::pair<bool,double>

Definition at line 37 of file MeasurementEstimator.h.

Definition at line 25 of file MeasurementEstimator.h.

Definition at line 38 of file MeasurementEstimator.h.

Constructor & Destructor Documentation

MeasurementEstimator::MeasurementEstimator ( )
inline

Definition at line 28 of file MeasurementEstimator.h.

28 {}
MeasurementEstimator::MeasurementEstimator ( float  maxSag,
float  minToll,
float  mpt 
)
inline

Definition at line 29 of file MeasurementEstimator.h.

29  :
30  m_maxSagitta(maxSag),
31  m_minTolerance2(minToll*minToll),
33  {}
virtual MeasurementEstimator::~MeasurementEstimator ( )
inlinevirtual

Definition at line 35 of file MeasurementEstimator.h.

35 {}

Member Function Documentation

virtual MeasurementEstimator* MeasurementEstimator::clone ( ) const
pure virtual
virtual HitReturnType MeasurementEstimator::estimate ( const TrajectoryStateOnSurface ts,
const TrackingRecHit hit 
) const
pure virtual
virtual SurfaceReturnType MeasurementEstimator::estimate ( const TrajectoryStateOnSurface ts,
const Plane plane 
) const
pure virtual
virtual Local2DVector MeasurementEstimator::maximalLocalDisplacement ( const TrajectoryStateOnSurface ts,
const Plane plane 
) const
pure virtual
float MeasurementEstimator::maxSagitta ( ) const
inline

Definition at line 78 of file MeasurementEstimator.h.

References m_maxSagitta.

Referenced by GeomDetCompatibilityChecker::isCompatible().

78 { return m_maxSagitta;}
float MeasurementEstimator::minPt2ForHitRecoveryInGluedDet ( ) const
inline
float MeasurementEstimator::minTolerance2 ( ) const
inline

Definition at line 79 of file MeasurementEstimator.h.

References m_minTolerance2.

Referenced by GeomDetCompatibilityChecker::isCompatible().

virtual bool MeasurementEstimator::preFilter ( const TrajectoryStateOnSurface ,
OpaquePayload const &   
) const
inlinevirtual

Definition at line 54 of file MeasurementEstimator.h.

Referenced by TkStripMeasurementDet::filteredRecHits().

54 { return true;}

Member Data Documentation

float MeasurementEstimator::m_maxSagitta =-1.
private

Definition at line 89 of file MeasurementEstimator.h.

Referenced by maxSagitta().

float MeasurementEstimator::m_minPt2ForHitRecoveryInGluedDet =std::numeric_limits<float>::max()
private

Definition at line 91 of file MeasurementEstimator.h.

Referenced by minPt2ForHitRecoveryInGluedDet().

float MeasurementEstimator::m_minTolerance2 =100.
private

Definition at line 90 of file MeasurementEstimator.h.

Referenced by minTolerance2().