7 const double inputRhoFactor,
8 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()) {
45 const double z1 =
interp_(eta, x1);
46 value = z0 + (z1 -
z0) * ((rho - x0) / (x1 - x0));
double operator()(double eta, double phi, const reco::FFTJetPileupSummary &summary) const override
Summary info for pile-up determined by Gaussian filtering.
fftjet::LinearInterpolator2d interp_
EtaDependentPileup(const fftjet::LinearInterpolator2d &i, double inputRhoFactor, double outputRhoFactor)