1 #ifndef GeometryVector_Geom_Util_h 2 #define GeometryVector_Geom_Util_h 19 inline bool phiLess(
double phi1,
double phi2) {
return deltaPhi(phi1, phi2) < 0; }
20 template <
class Vector1,
class Vector2>
21 bool phiLess(
const Vector1& v1,
const Vector2& v2) {
22 return deltaPhi(v1.phi(), v2.phi()) < 0.;
constexpr double deltaPhi(double phi1, double phi2)
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
bool phiLess(float phi1, float phi2)
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())