#include <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 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 () |
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.
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.
virtual MeasurementEstimator::~MeasurementEstimator | ( | ) | [inline, virtual] |
Definition at line 26 of file MeasurementEstimator.h.
{}
virtual MeasurementEstimator* MeasurementEstimator::clone | ( | ) | const [pure virtual] |
Implemented in InsideBoundsMeasurementEstimator, BarrelMeasurementEstimator, ForwardMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, HICMeasurementEstimator, cms::HICSeedMeasurementEstimator, EtaPhiEstimator, OuterEstimator, GsfChi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimatorForTrackerHits, Chi2Strip1DEstimator, Chi2StripEstimator, Chi2Switching1DEstimator, Chi2SwitchingEstimator, EtaPhiMeasurementEstimator, 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, HICMeasurementEstimator, cms::HICSeedMeasurementEstimator, OuterEstimator, Chi2MeasurementEstimatorBase, and EtaPhiMeasurementEstimator.
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"); }