CMS 3D CMS Logo

Public Types | Public Member Functions

MeasurementEstimator Class Reference

#include <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 HitReturnType estimate (const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const =0
virtual SurfaceReturnType estimate (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const =0
virtual Local2DVector maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
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.

Definition at line 24 of file MeasurementEstimator.h.

Definition at line 29 of file MeasurementEstimator.h.


Constructor & Destructor Documentation

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

Definition at line 26 of file MeasurementEstimator.h.

{}

Member Function Documentation

virtual MeasurementEstimator* MeasurementEstimator::clone ( ) const [pure virtual]
virtual SurfaceReturnType MeasurementEstimator::estimate ( const TrajectoryStateOnSurface ts,
const BoundPlane plane 
) const [pure virtual]
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, HICMeasurementEstimator, HICMeasurementEstimator, cms::HICSeedMeasurementEstimator, EtaPhiEstimator, MuonChi2MeasurementEstimator, OuterEstimator, GsfChi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimatorBase, Chi2MeasurementEstimatorForTrackerHits, Chi2Strip1DEstimator, Chi2StripEstimator, Chi2Switching1DEstimator, Chi2SwitchingEstimator, EtaPhiMeasurementEstimator, 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(), GsfTrajectoryFitter::fit(), NuclearTester::fwdEstimate(), NonPropagatingDetMeasurements::get(), GeomDetCompatibilityChecker::isCompatible(), MuonDetLayerMeasurements::measurements(), GlobalTrackQualityProducer::newChi2(), 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, Chi2MeasurementEstimatorBase, and EtaPhiMeasurementEstimator.

Definition at line 5 of file MeasurementEstimator.cc.

References Exception.

Referenced by MuDetRod::compatibleDets(), and tkDetUtil::computeWindowSize().

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