CMS 3D CMS Logo

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

#include <MeasurementEstimator.h>

Inheritance diagram for MeasurementEstimator:
BarrelMeasurementEstimator Chi2MeasurementEstimatorBase ConversionBarrelEstimator ConversionForwardEstimator ForwardMeasurementEstimator InsideBoundsMeasurementEstimator OuterEstimator Chi2MeasurementEstimator Chi2Strip1DEstimator Chi2Switching1DEstimator EtaPhiEstimator EtaPhiMeasurementEstimator GsfChi2MeasurementEstimator MRHChi2MeasurementEstimator MuonChi2MeasurementEstimator

Public Types

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

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
 
virtual ~MeasurementEstimator ()
 

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

typedef std::pair<bool,double> MeasurementEstimator::HitReturnType

Definition at line 27 of file MeasurementEstimator.h.

Definition at line 23 of file MeasurementEstimator.h.

Definition at line 28 of file MeasurementEstimator.h.

Constructor & Destructor Documentation

virtual MeasurementEstimator::~MeasurementEstimator ( )
inlinevirtual

Definition at line 25 of file MeasurementEstimator.h.

25 {}

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
MeasurementEstimator::Local2DVector MeasurementEstimator::maximalLocalDisplacement ( const TrajectoryStateOnSurface ts,
const Plane plane 
) const
virtual

Returns the size of the compatibility region around the local position of the TrajectoryStateOnSurface along the directions of local x and y axis. The TrajectoryStateOnSurface must be on the plane. This method allows to limit the search for compatible detectors or RecHits. The MeasurementEstimator should not return "true" for any RecHit or Plane which is entirely outside of the compatibility region defined by maximalLocalDisplacement().

Reimplemented in ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, EtaPhiMeasurementEstimator, and InsideBoundsMeasurementEstimator.

Definition at line 5 of file MeasurementEstimator.cc.

References edm::hlt::Exception.

Referenced by MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), tkDetUtil::computeWindowSize(), TIBLayer::computeWindowSize(), barrelUtil::computeWindowSize(), TIDLayer::computeWindowSize(), TOBRod::computeWindowSize(), PixelBlade::computeWindowSize(), PixelForwardLayer::computeWindowSize(), PixelForwardLayerPhase1::computeWindowSize(), TIBRing::computeWindowSize(), and CompositeTECPetal::computeWindowSize().

7 {
8  throw cms::Exception("TrackingTools/PatternTools","MeasurementEstimator: base class maximalLocalDisplacement called");
9 }