CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Attributes
MeasurementEstimator Class Referenceabstract

#include <MeasurementEstimator.h>

Inheritance diagram for MeasurementEstimator:
Chi2MeasurementEstimatorBase ConversionBarrelEstimator ConversionForwardEstimator EtaPhiMeasurementEstimator InsideBoundsMeasurementEstimator OuterEstimator< Algo > Chi2MeasurementEstimator Chi2Strip1DEstimator Chi2Switching1DEstimator EtaPhiEstimator GsfChi2MeasurementEstimator MRHChi2MeasurementEstimator MuonChi2MeasurementEstimator

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 19 of file MeasurementEstimator.h.

Member Typedef Documentation

◆ HitReturnType

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

Definition at line 34 of file MeasurementEstimator.h.

◆ Local2DVector

Definition at line 26 of file MeasurementEstimator.h.

◆ SurfaceReturnType

Definition at line 35 of file MeasurementEstimator.h.

Constructor & Destructor Documentation

◆ MeasurementEstimator() [1/2]

MeasurementEstimator::MeasurementEstimator ( )
inline

Definition at line 28 of file MeasurementEstimator.h.

28 {}

◆ MeasurementEstimator() [2/2]

MeasurementEstimator::MeasurementEstimator ( float  maxSag,
float  minToll,
float  mpt 
)
inline

Definition at line 29 of file MeasurementEstimator.h.

◆ ~MeasurementEstimator()

virtual MeasurementEstimator::~MeasurementEstimator ( )
inlinevirtual

Definition at line 32 of file MeasurementEstimator.h.

32 {}

Member Function Documentation

◆ clone()

virtual MeasurementEstimator* MeasurementEstimator::clone ( ) const
pure virtual

◆ estimate() [1/2]

virtual HitReturnType MeasurementEstimator::estimate ( const TrajectoryStateOnSurface ts,
const TrackingRecHit hit 
) const
pure virtual

◆ estimate() [2/2]

virtual SurfaceReturnType MeasurementEstimator::estimate ( const TrajectoryStateOnSurface ts,
const Plane plane 
) const
pure virtual

◆ maximalLocalDisplacement()

virtual Local2DVector MeasurementEstimator::maximalLocalDisplacement ( const TrajectoryStateOnSurface ts,
const Plane plane 
) const
pure virtual

◆ maxSagitta()

float MeasurementEstimator::maxSagitta ( ) const
inline

◆ minPt2ForHitRecoveryInGluedDet()

float MeasurementEstimator::minPt2ForHitRecoveryInGluedDet ( ) const
inline

◆ minTolerance2()

float MeasurementEstimator::minTolerance2 ( ) const
inline

Definition at line 71 of file MeasurementEstimator.h.

References m_minTolerance2.

Referenced by GeomDetCompatibilityChecker::isCompatible().

◆ preFilter()

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

Definition at line 50 of file MeasurementEstimator.h.

Referenced by TkStripMeasurementDet::filteredRecHits().

50 { return true; }

Member Data Documentation

◆ m_maxSagitta

float MeasurementEstimator::m_maxSagitta = -1.
private

Definition at line 81 of file MeasurementEstimator.h.

Referenced by maxSagitta().

◆ m_minPt2ForHitRecoveryInGluedDet

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

Definition at line 83 of file MeasurementEstimator.h.

Referenced by minPt2ForHitRecoveryInGluedDet().

◆ m_minTolerance2

float MeasurementEstimator::m_minTolerance2 = 100.
private

Definition at line 82 of file MeasurementEstimator.h.

Referenced by minTolerance2().