8 template <
typename T1,
typename T2>
9 inline double ellipse (
const T1& t1,
const T2&
t2,
double rPhi,
double rEta){
10 double dEta = t1.eta()-t2.eta();
11 double dPhi =
deltaPhi(t1.phi(), t2.phi());
12 double distance = (dEta*dEta)/(rEta*rEta) + (dPhi*dPhi)/(rPhi*rPhi);
auto const T2 &decltype(t1.eta()) t2
double deltaPhi(double phi1, double phi2)
double ellipse(const T1 &t1, const T2 &t2, double rPhi, double rEta)