2 #define JET_JETUTIL_H 1
9 return (i.pt() > j.pt());
16 return (i.et() > j.et());
25 while (x < 0.) x += 2*
M_PI;
35 static double dPhi(
double phi1,
double phi2){
41 static double radius(
double eta1,
double phi1,
double eta2,
double phi2){
50 double deta = eta1-eta2;
52 return sqrt(deta*deta+dphi*dphi);
55 template <
typename T1,
typename T2>
static double radius(
const T1& t1,
const T2& t2){
56 return radius(t1->eta(),t1->phi(),t2->eta(),t2->phi());
bool operator()(const T &i, const T &j)
#define TWOPI
EgammaCoreTools.
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)