2 #define JET_JETUTIL_H 1
11 return (i.pt() > j.pt());
19 return (i.et() > j.et());
41 static double dPhi(
double phi1,
double phi2) {
55 double deta = eta1 -
eta2;
57 return sqrt(deta * deta + dphi * dphi);
60 template <
typename T1,
typename T2>
61 static double radius(
const T1& t1,
const T2& t2) {
62 return radius(t1->eta(), t1->phi(), t2->eta(), t2->phi());
bool operator()(const T &i, const T &j)
static double radius(double eta1, double phi1, double eta2, double phi2)
static double Phi_mpi_pi(double x)
static double radius(const T1 &t1, const T2 &t2)
static double dPhi(double phi1, double phi2)
bool operator()(const T &i, const T &j)
static double Phi_0_2pi(double x)