#include <TrackingTools/PatternTools/interface/MeasurementEstimator.h>
Public Types | |
typedef std::pair< bool, double > | HitReturnType |
typedef Vector2DBase< float, LocalTag > | Local2DVector |
typedef bool | SurfaceReturnType |
Public Member Functions | |
virtual MeasurementEstimator * | clone () 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 () |
It is used in the Det interface to obtain compatible measurements.
Definition at line 21 of file MeasurementEstimator.h.
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.
Definition at line 29 of file MeasurementEstimator.h.
virtual MeasurementEstimator::~MeasurementEstimator | ( | ) | [inline, virtual] |
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 }