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:
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

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.

Implemented in BarrelMeasurementEstimator, ForwardMeasurementEstimator, OuterEstimator< Algo >, Chi2MeasurementEstimatorBase, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiEstimator, MuonChi2MeasurementEstimator, Chi2Switching1DEstimator, GsfChi2MeasurementEstimator, EtaPhiMeasurementEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, Chi2MeasurementEstimator, MRHChi2MeasurementEstimator, and InsideBoundsMeasurementEstimator.

Referenced by TkGluedMeasurementDet::HitCollectorForSimpleHits::add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::add(), TkGluedMeasurementDet::HitCollectorForSimpleHits::addProjected(), TkGluedMeasurementDet::HitCollectorForFastMeasurements::addProjected(), CkfDebugger::analyseRecHitExistance(), MTDDetRing::compatible(), MuDetRing::compatible(), MTDDetTray::compatible(), MuDetRod::compatible(), MTDDetLayerMeasurements::fastMeasurements(), MuonDetLayerMeasurements::fastMeasurements(), TkStripMeasurementDet::filteredRecHits(), GsfTrajectoryFitter::fitOne(), NuclearTester::fwdEstimate(), GeomDetCompatibilityChecker::isCompatible(), MTDDetLayerMeasurements::measurements(), TkPixelMeasurementDet::measurements(), MuonDetLayerMeasurements::measurements(), GlobalTrackQualityProducer::newChi2(), preFilter(), TrackExtenderWithMTDT< TrackCollection >::produce(), TkPhase2OTMeasurementDet::recHits(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), and MuonTrajectoryUpdator::update().

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
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

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().