15 bool operator()(
float a,
float b)
const {
24 std::pair<float,float> phiRange(phi-phiWindow, phi+phiWindow);
56 float phimin = corners[0];
57 float phimax = phimin;
58 for (
int i = 1;
i<4;
i++) {
59 float cPhi = corners[
i];
63 float phiWindow = phimax - phimin;
64 if ( phiWindow < 0.) { phiWindow += 2.*
Geom::pi();}
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
std::pair< float, float > const & phiSpan() const
LocalPoint localPosition() const
float calculatePhiWindow(const MeasurementEstimator::Local2DVector &maxDistance, const TrajectoryStateOnSurface &ts, const BoundPlane &plane)
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est)
bool rangesIntersect(const Range &a, const Range &b)
bool overlapInPhi(const GlobalPoint &crossPoint, const GeomDet &det, float phiWindow)
bool phiLess(float phi1, float phi2)
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.