CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EtaDependentPileup.h
Go to the documentation of this file.
1 //=========================================================================
2 // EtaDependentPileup.h
3 //
4 // 2-d interpolation table appropriate for pile-up calculations
5 //
6 // I. Volobouev
7 // June 2011
8 //=========================================================================
9 
10 #ifndef RecoJets_FFTJetAlgorithms_EtaDependentPileup_h
11 #define RecoJets_FFTJetAlgorithms_EtaDependentPileup_h
12 
14 #include "fftjet/LinearInterpolator2d.hh"
15 
16 namespace fftjetcms {
18  public:
19  EtaDependentPileup(const fftjet::LinearInterpolator2d& i, double inputRhoFactor, double outputRhoFactor);
20 
21  inline ~EtaDependentPileup() override {}
22 
23  double operator()(double eta, double phi, const reco::FFTJetPileupSummary& summary) const override;
24 
25  inline bool isPhiDependent() const override { return false; }
26 
27  private:
28  fftjet::LinearInterpolator2d interp_;
31  double etaMin_;
32  double etaMax_;
33  double rhoMin_;
34  double rhoMax_;
35  double rhoStep_;
36  };
37 } // namespace fftjetcms
38 
39 #endif // RecoJets_FFTJetAlgorithms_EtaDependentPileup_h
bool isPhiDependent() const override
Summary info for pile-up determined by Gaussian filtering.
fftjet::LinearInterpolator2d interp_
double operator()(double eta, double phi, const reco::FFTJetPileupSummary &summary) const override
EtaDependentPileup(const fftjet::LinearInterpolator2d &i, double inputRhoFactor, double outputRhoFactor)