CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Chi2MeasurementEstimatorBase.cc
Go to the documentation of this file.
4 
6  const Plane& plane) const
7 {
8  if ( ts.hasError()) {
9  return plane.bounds().inside( ts.localPosition(),
11  nSigmaCut());
12  }
13  else return plane.bounds().inside(ts.localPosition());
14 }
15 
18  const Plane& plane) const
19 {
20  if ( ts.hasError()) {
22  return Local2DVector( sqrt(le.xx())*nSigmaCut(), sqrt(le.yy())*nSigmaCut());
23  }
24  else return Local2DVector(0,0);
25 }
float xx() const
Definition: LocalError.h:24
Vector2DBase< float, LocalTag > Local2DVector
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &) const =0
const Bounds & bounds() const
Definition: Surface.h:128
LocalError positionError() const
Definition: Plane.h:17
float yy() const
Definition: LocalError.h:26
T sqrt(T t)
Definition: SSEVec.h:48
const LocalTrajectoryError & localError() const
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const