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