CMS 3D CMS Logo

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  {
19  public:
20  EtaDependentPileup(const fftjet::LinearInterpolator2d& i,
21  double inputRhoFactor, double outputRhoFactor);
22 
23  inline ~EtaDependentPileup() override {}
24 
25  double operator()(
26  double eta, double phi,
27  const reco::FFTJetPileupSummary& summary) const override;
28 
29  inline bool isPhiDependent() const override {return false;}
30 
31  private:
32  fftjet::LinearInterpolator2d interp_;
35  double etaMin_;
36  double etaMax_;
37  double rhoMin_;
38  double rhoMax_;
39  double rhoStep_;
40  };
41 }
42 
43 #endif // RecoJets_FFTJetAlgorithms_EtaDependentPileup_h
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)
bool isPhiDependent() const override