#include <InsideBoundsMeasurementEstimator.h>
Public Member Functions | |
virtual MeasurementEstimator * | clone () const |
virtual bool | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &tsos, const TrackingRecHit &aRecHit) const |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
Public Member Functions inherited from MeasurementEstimator | |
virtual bool | preFilter (const TrajectoryStateOnSurface &, OpaquePayload const &) const |
virtual | ~MeasurementEstimator () |
Additional Inherited Members | |
Public Types inherited from MeasurementEstimator | |
typedef std::pair< bool, double > | HitReturnType |
typedef Vector2DBase< float, LocalTag > | Local2DVector |
typedef bool | SurfaceReturnType |
Definition at line 6 of file InsideBoundsMeasurementEstimator.h.
|
inlinevirtual |
|
virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the Plane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Implements MeasurementEstimator.
Definition at line 5 of file InsideBoundsMeasurementEstimator.cc.
References Surface::bounds(), Bounds::inside(), and TrajectoryStateOnSurface::localPosition().
|
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.
Implements MeasurementEstimator.
Definition at line 19 of file InsideBoundsMeasurementEstimator.cc.
References Surface::bounds(), TrackingRecHit::det(), Bounds::inside(), TrajectoryStateOnSurface::localPosition(), and GeomDet::surface().
|
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 from MeasurementEstimator.
Definition at line 12 of file InsideBoundsMeasurementEstimator.cc.