#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 TrackingRecHit &hit) const =0 |
virtual SurfaceReturnType | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const =0 |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
virtual | ~MeasurementEstimator () |
The MeasurementEstimator defines the compatibility of a TrajectoryStateOnSurface and a RecHit, and of a TrajectoryStateOnSurface and a Plane. It is used in the Det interface to obtain compatible measurements.
Definition at line 20 of file MeasurementEstimator.h.
typedef std::pair<bool,double> MeasurementEstimator::HitReturnType |
Definition at line 27 of file MeasurementEstimator.h.
typedef Vector2DBase< float, LocalTag> MeasurementEstimator::Local2DVector |
Definition at line 23 of file MeasurementEstimator.h.
typedef bool MeasurementEstimator::SurfaceReturnType |
Definition at line 28 of file MeasurementEstimator.h.
|
inlinevirtual |
Definition at line 25 of file MeasurementEstimator.h.
|
pure virtual |
Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, BarrelMeasurementEstimator, GCC11_FINAL< T, TOPO >, ForwardMeasurementEstimator, OuterEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, EtaPhiEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, ConversionBarrelEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, ConversionForwardEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, Chi2MeasurementEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GsfChi2MeasurementEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, InsideBoundsMeasurementEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
|
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, GCC11_FINAL< T, TOPO >, OuterEstimator, ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimator, MuonChi2MeasurementEstimator, GCC11_FINAL< T, TOPO >, GsfChi2MeasurementEstimator, Chi2MeasurementEstimator, Chi2MeasurementEstimatorBase, GCC11_FINAL< T, TOPO >, EtaPhiEstimator, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and InsideBoundsMeasurementEstimator.
Referenced by CkfDebugger::analyseRecHitExistance(), MuDetRing::compatible(), MuDetRod::compatible(), MuonDetLayerMeasurements::fastMeasurements(), GCC11_FINAL< T, TOPO >::filteredRecHits(), NuclearTester::fwdEstimate(), GeomDetCompatibilityChecker::isCompatible(), TkPixelMeasurementDet::measurements(), MuonDetLayerMeasurements::measurements(), GlobalTrackQualityProducer::newChi2(), and MuonTrajectoryUpdator::update().
|
pure virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the Plane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implemented in ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, GCC11_FINAL< T, TOPO >, 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 Plane which is entirely outside of the compatibility region defined by maximalLocalDisplacement().
Reimplemented in ConversionBarrelEstimator, ConversionForwardEstimator, Chi2MeasurementEstimatorBase, GCC11_FINAL< T, TOPO >, and InsideBoundsMeasurementEstimator.
Definition at line 5 of file MeasurementEstimator.cc.
References edm::hlt::Exception.
Referenced by MuDetRod::compatibleDets(), tkDetUtil::computeWindowSize(), and barrelUtil::computeWindowSize().