1 #ifndef TkDetLayers_BarrelUtil_h
2 #define TkDetLayers_BarrelUtil_h
12 #pragma GCC visibility push(hidden)
13 namespace barrelUtil {
41 constexpr
float phiOffset = 0.00034;
45 std::pair<float, float> phiRange(phi - phiWin, phi + phiWin);
52 #pragma GCC visibility pop
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual const BoundSurface & surface() const =0
The surface of the GeometricSearchDet.
LocalPoint localPosition() const
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const =0
GlobalPoint globalPosition() const
const Plane & surface() const
The nominal surface of the GeomDet.
Abs< T >::type abs(const T &t)
std::pair< float, float > const & phiSpan() const
float calculatePhiWindow(float Xmax, const GeomDet &det, const TrajectoryStateOnSurface &state)
bool overlap(float phi, const GeometricSearchDet &gsdet, float phiWin)
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est)
bool phiLess(float phi1, float phi2)
bool rangesIntersect(const Range &a, const Range &b)
static unsigned int const shift