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