1 #ifndef DataFormats_Math_deltaPhi_h 2 #define DataFormats_Math_deltaPhi_h 22 T n = std::round(
x * o2pi);
34 template <
typename T1,
typename T2>
48 template <
typename T1,
typename T2 = T1>
66 template <
class valType>
constexpr double deltaPhi(double phi1, double phi2)
constexpr auto operator()(const T1 &t1, const T2 &t2) -> decltype(reco::deltaPhi(t1, t2)) const
constexpr T reduceRange(T x)
Abs< T >::type abs(const T &t)
constexpr valType make0To2pi(valType angle)
T angle(T x1, T y1, T z1, T x2, T y2, T z2)