8 : etaBw_(
sqrt(etaToPhiBandwidthRatio)),
11 assert(etaToPhiBandwidthRatio > 0.0);
15 const fftjet::RecombinedJet<VectorLike>& j1,
16 const fftjet::Peak& peak)
const 18 if (peak.membershipFactor() <= 0.0)
22 const double deta = (j1.vec().Eta() - peak.eta())/
etaBw_;
23 double dphi = j1.vec().Phi() - peak.phi();
26 else if (dphi < -
M_PI)
29 return sqrt(deta*deta + dphi*dphi);
double operator()(const fftjet::RecombinedJet< VectorLike > &jet, const fftjet::Peak &peak) const
JetToPeakDistance(double etaToPhiBandwidthRatio=1.0)