7 const fftjet::LinearInterpolator2d& interp,
8 const double inputRhoFactor,
const double outputRhoFactor)
10 inputRhoFactor_(inputRhoFactor),
11 outputRhoFactor_(outputRhoFactor),
12 etaMin_(interp.xMin()),
13 etaMax_(interp.xMax()),
14 rhoMin_(interp.
yMin()),
15 rhoMax_(interp.
yMax()),
16 rhoStep_((rhoMax_ - rhoMin_)/interp.ny())
52 const double z0 =
interp_(eta, x0);
53 const double z1 =
interp_(eta, x1);
54 value = z0 + (z1 - z0)*((rho - x0)/(x1 - x0));
Summary info for pile-up determined by Gaussian filtering.
fftjet::LinearInterpolator2d interp_
virtual double operator()(double eta, double phi, const reco::FFTJetPileupSummary &summary) const
EtaDependentPileup(const fftjet::LinearInterpolator2d &i, double inputRhoFactor, double outputRhoFactor)