9 return (i.pt() > j.pt());
15 while (x < 0.) x += 2*
M_PI;
25 double dPhi(
double phi1,
double phi2){
31 double radius(
double eta1,
double phi1,
double eta2,
double phi2){
40 double deta = eta1-eta2;
42 return sqrt(deta*deta+dphi*dphi);
45 template <
typename T1,
typename T2>
double radius(
const T1& t1,
const T2&
t2){
46 return radius(t1->eta(),t1->phi(),t2->eta(),t2->phi());
#define TWOPI
EgammaCoreTools.
double Phi_mpi_pi(double x)
double Phi_0_2pi(double x)
double dPhi(double phi1, double phi2)
auto const T2 &decltype(t1.eta()) t2
bool operator()(const T &i, const T &j)