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