8 : etaBw_(
sqrt(etaToPhiBandwidthRatio)), phiBw_(1.0 / etaBw_) {
9 assert(etaToPhiBandwidthRatio > 0.0);
13 if (peak.membershipFactor() <= 0.0)
17 const double deta = (j1.vec().Eta() - peak.eta()) /
etaBw_;
18 double dphi = j1.vec().Phi() - peak.phi();
21 else if (dphi < -
M_PI)
24 return sqrt(deta * deta + dphi * dphi);
double operator()(const fftjet::RecombinedJet< VectorLike > &jet, const fftjet::Peak &peak) const
JetToPeakDistance(double etaToPhiBandwidthRatio=1.0)