File indexing completed on 2024-04-06 12:25:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef RecoJets_FFTJetAlgorithms_EtaDependentPileup_h
0011 #define RecoJets_FFTJetAlgorithms_EtaDependentPileup_h
0012
0013 #include "RecoJets/FFTJetAlgorithms/interface/AbsPileupCalculator.h"
0014 #include "fftjet/LinearInterpolator2d.hh"
0015
0016 namespace fftjetcms {
0017 class EtaDependentPileup : public AbsPileupCalculator {
0018 public:
0019 EtaDependentPileup(const fftjet::LinearInterpolator2d& i, double inputRhoFactor, double outputRhoFactor);
0020
0021 inline ~EtaDependentPileup() override {}
0022
0023 double operator()(double eta, double phi, const reco::FFTJetPileupSummary& summary) const override;
0024
0025 inline bool isPhiDependent() const override { return false; }
0026
0027 private:
0028 fftjet::LinearInterpolator2d interp_;
0029 double inputRhoFactor_;
0030 double outputRhoFactor_;
0031 double etaMin_;
0032 double etaMax_;
0033 double rhoMin_;
0034 double rhoMax_;
0035 double rhoStep_;
0036 };
0037 }
0038
0039 #endif