CMS 3D CMS Logo

InsideBoundsMeasurementEstimator.cc
Go to the documentation of this file.
6  const Plane& plane) const
7 {
8  return plane.bounds().inside(ts.localPosition());
9 }
10 
13  const Plane&) const
14 {
15  return Local2DVector(0,0);
16 }
17 
18 std::pair<bool,double>
20  const TrackingRecHit& aRecHit) const
21 {
22  bool inside = aRecHit.det()->surface().bounds().inside(tsos.localPosition());
23  return HitReturnType (inside,0);
24 
25 }
const Bounds & bounds() const
Definition: Surface.h:120
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:42
Definition: Plane.h:17
virtual bool estimate(const TrajectoryStateOnSurface &ts, const Plane &plane) const
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
Vector2DBase< float, LocalTag > Local2DVector
const GeomDet * det() const
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const
std::pair< bool, double > HitReturnType