#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.
|
inlinevirtual |
Definition at line 26 of file MeasurementEstimator.h.
|
pure virtual |
Implemented in HICMeasurementEstimator, BarrelMeasurementEstimator, OuterEstimator, ForwardMeasurementEstimator, EtaPhiEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiMeasurementEstimator, Chi2MeasurementEstimatorForTrackerHits, Chi2MeasurementEstimator, cms::HICSeedMeasurementEstimator, Chi2Switching1DEstimator, Chi2SwitchingEstimator, GsfChi2MeasurementEstimator, Chi2Strip1DEstimator, Chi2StripEstimator, MRHChi2MeasurementEstimator, and InsideBoundsMeasurementEstimator.
|
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 BarrelMeasurementEstimator, ForwardMeasurementEstimator, HICMeasurementEstimator, HICMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorForTrackerHits, Chi2MeasurementEstimator, MuonChi2MeasurementEstimator, OuterEstimator, Chi2Switching1DEstimator, Chi2SwitchingEstimator, Chi2MeasurementEstimator, EtaPhiMeasurementEstimator, GsfChi2MeasurementEstimator, Chi2MeasurementEstimatorBase, EtaPhiEstimator, Chi2Strip1DEstimator, Chi2StripEstimator, MRHChi2MeasurementEstimator, cms::HICSeedMeasurementEstimator, and InsideBoundsMeasurementEstimator.
Referenced by CkfDebugger::analyseRecHitExistance(), MuDetRing::compatible(), MuDetRod::compatible(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), TkPixelMeasurementDet::fastMeasurements(), MuonDetLayerMeasurements::fastMeasurements(), TkStripMeasurementDet::fastMeasurements(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHit(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHitsByDet(), GsfTrajectoryFitter::fit(), NuclearTester::fwdEstimate(), NonPropagatingDetMeasurements::get(), GeomDetCompatibilityChecker::isCompatible(), MuonDetLayerMeasurements::measurements(), GlobalTrackQualityProducer::newChi2(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), RoadSearchTrackCandidateMakerAlgorithm::run(), GsfTrajectorySmoother::trajectories(), KFTrajectorySmoother::trajectories(), and MuonTrajectoryUpdator::update().
|
pure virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the BoundPlane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implemented in BarrelMeasurementEstimator, ForwardMeasurementEstimator, HICMeasurementEstimator, OuterEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, EtaPhiMeasurementEstimator, Chi2MeasurementEstimatorBase, cms::HICSeedMeasurementEstimator, and InsideBoundsMeasurementEstimator.
|
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 BarrelMeasurementEstimator, OuterEstimator, ForwardMeasurementEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, EtaPhiMeasurementEstimator, cms::HICSeedMeasurementEstimator, and InsideBoundsMeasurementEstimator.
Definition at line 5 of file MeasurementEstimator.cc.
References edm::hlt::Exception.
Referenced by MuDetRod::compatibleDets(), and tkDetUtil::computeWindowSize().