1 #ifndef GeometryVector_Geom_Util_h 2 #define GeometryVector_Geom_Util_h 23 inline bool phiLess(
float phi1,
float phi2) {
26 inline bool phiLess(
double phi1,
double phi2) {
29 template <
class Vector1,
class Vector2>
30 bool phiLess(
const Vector1 & v1,
const Vector2 & v2) {
31 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())