37 float rhR = gp.
perp();
38 float rDiff = tsR - rhR;
46 if( rDiff >= rMax || rDiff <= rMin )
return std::pair<bool,double>(
false,0.);
56 if ( (phiDiff < myPhimax) & (phiDiff > myPhimin) ) {
57 return std::pair<bool,double>(
true,1.);
59 return std::pair<bool,double>(
false,0.);
71 float rhR = gp.
perp();
72 float tsR = ts.
perp();
73 float rDiff = rhR - tsR;
82 if( (rDiff >= rMax) | (rDiff <= rMin) )
return std::pair<bool,double>(
false,0.);
92 if ( phiDiff < myPhimax && phiDiff > myPhimin )
93 {
return std::pair<bool,double>(
true,1.) ; }
95 {
return std::pair<bool,double>(
false,0.) ; }
102 typedef std::pair<float,float>
Range ;
109 Range trajRRange(trajPos.perp() -
r1, trajPos.perp() +
r2);
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const override
PixelRecoRange< float > Range
constexpr T normalizedPhi(T phi)
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)
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