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 }
const Bounds & bounds() const
Definition: Surface.h:89
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
Definition: Plane.h:16
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
const GeomDet * det() const
Vector2DBase< float, LocalTag > Local2DVector
bool estimate(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
std::pair< bool, double > HitReturnType
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override