1 #ifndef Math_notmalizedPhi_h 2 #define Math_notmalizedPhi_h 17 return b + c1 * std::round(c2 * (a - b));
38 auto dphi =
std::min(maxDphi, 0.5
f * (phi2 - phi1));
39 auto phiA = phi1 + dphi;
constexpr T reduceRange(T x)
constexpr T normalizedPhi(T phi)
constexpr T proxim(T b, T a)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Abs< T >::type abs(const T &t)
constexpr bool checkPhiInSymRange(T phi, T phi1, T phi2, float maxDphi=float(M_PI))
constexpr bool checkPhiInRange(T phi, T phi1, T phi2, float maxDphi=float(M_PI))