CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 }
Vector2DBase< float, LocalTag > Local2DVector
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
const Bounds & bounds() const
Definition: Surface.h:128
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
Definition: Plane.h:17
virtual bool estimate(const TrajectoryStateOnSurface &ts, const Plane &plane) const
const GeomDet * det() const
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const
std::pair< bool, double > HitReturnType