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

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

Definition at line 34 of file MeasurementEstimator.h.

Definition at line 26 of file MeasurementEstimator.h.

Definition at line 35 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.

virtual MeasurementEstimator::~MeasurementEstimator ( )
inlinevirtual

Definition at line 32 of file MeasurementEstimator.h.

32 {}

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 OuterEstimator< Algo >, ConversionBarrelEstimator, Chi2MeasurementEstimatorBase, ConversionForwardEstimator, Chi2Switching1DEstimator, MuonChi2MeasurementEstimator, EtaPhiEstimator, GsfChi2MeasurementEstimator, MRHChi2MeasurementEstimator, EtaPhiMeasurementEstimator, Chi2MeasurementEstimator, MRHChi2MeasurementEstimator, Chi2Strip1DEstimator, 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 71 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 81 of file MeasurementEstimator.h.

Referenced by maxSagitta().

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

Definition at line 83 of file MeasurementEstimator.h.

Referenced by minPt2ForHitRecoveryInGluedDet().

float MeasurementEstimator::m_minTolerance2 = 100.
private

Definition at line 82 of file MeasurementEstimator.h.

Referenced by minTolerance2().