CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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  {
19  public:
20  EtaDependentPileup(const fftjet::LinearInterpolator2d& i,
21  double inputRhoFactor, double outputRhoFactor);
22 
23  inline virtual ~EtaDependentPileup() {}
24 
25  virtual double operator()(
26  double eta, double phi,
27  const reco::FFTJetPileupSummary& summary) const;
28 
29  inline virtual bool isPhiDependent() const {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
int i
Definition: DBlmapReader.cc:9
virtual bool isPhiDependent() const
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)