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.
4 
6  const BoundPlane& plane) const
7 {
8  return plane.bounds().inside(ts.localPosition());
9 }
10 
13  const BoundPlane& plane) const
14 {
15  return Local2DVector(0,0);
16 }
17 
18 std::pair<bool,double>
20  const TransientTrackingRecHit& 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.
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
virtual bool estimate(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
std::pair< bool, double > HitReturnType
const Bounds & bounds() const
Definition: BoundSurface.h:89
const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37