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 BoundPlane& 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 BoundPlane& 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.
LocalError positionError() const
float yy() const
Definition: LocalError.h:26
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
T sqrt(T t)
Definition: SSEVec.h:46
const LocalTrajectoryError & localError() const
const Bounds & bounds() const
Definition: BoundSurface.h:89
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &) const =0