CMS 3D CMS Logo

InsideBoundsMeasurementEstimator.cc
Go to the documentation of this file.
6  return plane.bounds().inside(ts.localPosition());
7 }
8 
10  const TrajectoryStateOnSurface& ts, const Plane&) const {
11  return Local2DVector(0, 0);
12 }
13 
15  const TrackingRecHit& aRecHit) const {
16  bool inside = aRecHit.det()->surface().bounds().inside(tsos.localPosition());
17  return HitReturnType(inside, 0);
18 }
TrajectoryStateOnSurface.h
TrackingRecHit::det
const GeomDet * det() const
Definition: TrackingRecHit.h:122
TransientTrackingRecHit.h
MeasurementEstimator::Local2DVector
Vector2DBase< float, LocalTag > Local2DVector
Definition: MeasurementEstimator.h:26
MeasurementEstimator::HitReturnType
std::pair< bool, double > HitReturnType
Definition: MeasurementEstimator.h:34
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
InsideBoundsMeasurementEstimator.h
Bounds::inside
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
Surface::bounds
const Bounds & bounds() const
Definition: Surface.h:87
Vector2DBase
Definition: Vector2DBase.h:8
TrajectoryStateOnSurface::localPosition
LocalPoint localPosition() const
Definition: TrajectoryStateOnSurface.h:74
InsideBoundsMeasurementEstimator::estimate
bool estimate(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
Definition: InsideBoundsMeasurementEstimator.cc:5
TrackingRecHit
Definition: TrackingRecHit.h:21
Plane
Definition: Plane.h:16
BoundPlane.h
InsideBoundsMeasurementEstimator::maximalLocalDisplacement
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
Definition: InsideBoundsMeasurementEstimator.cc:9