CMS 3D CMS Logo

MeasurementEstimator Class Reference

The MeasurementEstimator defines the compatibility of a TrajectoryStateOnSurface and a RecHit, and of a TrajectoryStateOnSurface and a BoundPlane. More...

#include <TrackingTools/PatternTools/interface/MeasurementEstimator.h>

Inheritance diagram for MeasurementEstimator:

BarrelMeasurementEstimator Chi2MeasurementEstimatorBase cms::HICSeedMeasurementEstimator ConversionBarrelEstimator ConversionForwardEstimator ForwardMeasurementEstimator InsideBoundsMeasurementEstimator OuterEstimator

List of all members.

Public Types

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

Public Member Functions

virtual MeasurementEstimatorclone () const =0
virtual SurfaceReturnType estimate (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const =0
 Returns true if the TrajectoryStateOnSurface is compatible with the BoundPlane, false otherwise.
virtual HitReturnType estimate (const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const =0
 Returns pair( true, value) if the TrajectoryStateOnSurface is compatible with the RecHit, and pair( false, value) if it is not compatible.
virtual Local2DVector maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
 Returns the size of the compatibility region around the local position of the TrajectoryStateOnSurface along the directions of local x and y axis.
virtual ~MeasurementEstimator ()


Detailed Description

The MeasurementEstimator defines the compatibility of a TrajectoryStateOnSurface and a RecHit, and of a TrajectoryStateOnSurface and a BoundPlane.

It is used in the Det interface to obtain compatible measurements.

Definition at line 21 of file MeasurementEstimator.h.


Member Typedef Documentation

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

Definition at line 28 of file MeasurementEstimator.h.

typedef Vector2DBase< float, LocalTag> MeasurementEstimator::Local2DVector

Definition at line 24 of file MeasurementEstimator.h.

typedef bool MeasurementEstimator::SurfaceReturnType

Definition at line 29 of file MeasurementEstimator.h.


Constructor & Destructor Documentation

virtual MeasurementEstimator::~MeasurementEstimator (  )  [inline, virtual]

Definition at line 26 of file MeasurementEstimator.h.

00026 {}


Member Function Documentation

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

Implemented in InsideBoundsMeasurementEstimator, BarrelMeasurementEstimator, ForwardMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, cms::HICSeedMeasurementEstimator, HICMeasurementEstimator, OuterEstimator, GsfChi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimatorForTrackerHits, Chi2Strip1DEstimator, Chi2StripEstimator, Chi2Switching1DEstimator, Chi2SwitchingEstimator, and MRHChi2MeasurementEstimator.

virtual SurfaceReturnType MeasurementEstimator::estimate ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const [pure virtual]

Returns true if the TrajectoryStateOnSurface is compatible with the BoundPlane, false otherwise.

The TrajectoryStateOnSurface must be on the plane.

Implemented in InsideBoundsMeasurementEstimator, BarrelMeasurementEstimator, ForwardMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, cms::HICSeedMeasurementEstimator, HICMeasurementEstimator, OuterEstimator, and Chi2MeasurementEstimatorBase.

virtual HitReturnType MeasurementEstimator::estimate ( const TrajectoryStateOnSurface ts,
const TransientTrackingRecHit 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 InsideBoundsMeasurementEstimator, BarrelMeasurementEstimator, ForwardMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, cms::HICSeedMeasurementEstimator, HICMeasurementEstimator, HICMeasurementEstimator, MuonChi2MeasurementEstimator, OuterEstimator, GsfChi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimatorBase, Chi2MeasurementEstimatorForTrackerHits, Chi2Strip1DEstimator, Chi2StripEstimator, Chi2Switching1DEstimator, Chi2SwitchingEstimator, and MRHChi2MeasurementEstimator.

Referenced by CkfDebugger::analyseRecHitExistance(), MuDetRing::compatible(), MuDetRod::compatible(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), TkPixelMeasurementDet::fastMeasurements(), TkStripMeasurementDet::fastMeasurements(), MuonDetLayerMeasurements::fastMeasurements(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHit(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHitsByDet(), KFFittingSmoother::fit(), NuclearTester::fwdEstimate(), NonPropagatingDetMeasurements::get(), GeomDetCompatibilityChecker::isCompatible(), MuonBestMeasurementFinder::lookAtSubRecHits(), MuonDetLayerMeasurements::measurements(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), RoadSearchTrackCandidateMakerAlgorithm::run(), KFTrajectorySmoother::trajectories(), GsfTrajectorySmoother::trajectories(), and MuonTrajectoryUpdator::update().

MeasurementEstimator::Local2DVector MeasurementEstimator::maximalLocalDisplacement ( const TrajectoryStateOnSurface ts,
const BoundPlane 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 BoundPlane which is entirely outside of the compatibility region defined by maximalLocalDisplacement().

Reimplemented in InsideBoundsMeasurementEstimator, BarrelMeasurementEstimator, ForwardMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, cms::HICSeedMeasurementEstimator, OuterEstimator, and Chi2MeasurementEstimatorBase.

Definition at line 5 of file MeasurementEstimator.cc.

References Exception.

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

00007 {
00008    throw cms::Exception("TrackingTools/PatternTools","MeasurementEstimator: base class maximalLocalDisplacement called");
00009 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:28:11 2009 for CMSSW by  doxygen 1.5.4