14 const fftjet::RecombinedJet<VectorLike>& j2)
const {
15 const double deta = (j1.vec().Eta() - j2.vec().Eta()) /
etaBw_;
16 double dphi = j1.vec().Phi() - j2.vec().Phi();
19 else if (dphi < -
M_PI)
22 const double mag1 = j1.magnitude();
23 const double mag2 = j2.magnitude();
25 if (mag1 > 0.0 ||
mag2 > 0.0)
27 return sqrt(deta * deta + dphi * dphi + dmag * dmag);