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.;
double deltaR(const T1 &t1, const T2 &t2)
double deltaR2(const T1 &t1, const T2 &t2)
bool phiLess(float phi1, float phi2)
double deltaPhi(double phi1, double phi2)