40 float myR = gp.
perp();
51 if( zDiff >= myZmax || zDiff <= myZmin )
return std::pair<bool,double>(
false,0.);
55 float rhPhi = gp.
phi();
59 if ( phiDiff < thePhiMax && phiDiff >
thePhiMin ) {
61 return std::pair<bool,double>(
true,1.);
64 return std::pair<bool,double>(
false,0.);
77 float myR = gp.
perp();
79 float zDiff = myZ -ts.
z() ;
89 if( zDiff >= myZmax || zDiff <= myZmin )
return std::pair<bool,double>(
false,0.);
96 {
return std::pair<bool,double>(
true,1.) ; }
98 {
return std::pair<bool,double>(
false,0.) ; }
105 typedef std::pair<float,float>
Range;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
PixelRecoRange< float > Range
constexpr T normalizedPhi(T phi)
Geom::Phi< T > phi() const
const Plane & surface() const
The nominal surface of the GeomDet.
LocalError positionError() const
Vector2DBase< float, LocalTag > Local2DVector
const GeomDet * det() const
bool rangesIntersect(const Range &a, const Range &b)
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
Abs< T >::type abs(const T &t)
const LocalTrajectoryError & localError() const
virtual LocalPoint localPosition() const =0
GlobalPoint position() const
bool phiLess(float phi1, float phi2)
const GlobalTrajectoryParameters & globalParameters() const
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override