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

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 minTolerance2 () const
 
virtual bool preFilter (const TrajectoryStateOnSurface &, OpaquePayload const &) const
 
virtual ~MeasurementEstimator ()
 

Private Attributes

float m_maxSagitta =-1.
 
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 35 of file MeasurementEstimator.h.

Definition at line 25 of file MeasurementEstimator.h.

Definition at line 36 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 
)
inline

Definition at line 29 of file MeasurementEstimator.h.

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

Definition at line 33 of file MeasurementEstimator.h.

33 {}

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

References m_maxSagitta.

Referenced by GeomDetCompatibilityChecker::isCompatible().

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

Definition at line 77 of file MeasurementEstimator.h.

References m_minTolerance2.

Referenced by GeomDetCompatibilityChecker::isCompatible().

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

Definition at line 52 of file MeasurementEstimator.h.

Referenced by TkStripMeasurementDet::filteredRecHits().

52 { return true;}

Member Data Documentation

float MeasurementEstimator::m_maxSagitta =-1.
private

Definition at line 81 of file MeasurementEstimator.h.

Referenced by maxSagitta().

float MeasurementEstimator::m_minTolerance2 =100.
private

Definition at line 82 of file MeasurementEstimator.h.

Referenced by minTolerance2().