CMS 3D CMS Logo

JetToPeakDistance.h
Go to the documentation of this file.
1 #ifndef RecoJets_FFTJetAlgorithm_JetToPeakDistance_h
2 #define RecoJets_FFTJetAlgorithm_JetToPeakDistance_h
3 
4 #include "fftjet/RecombinedJet.hh"
5 
7 
8 namespace fftjetcms {
10  public:
11  explicit JetToPeakDistance(double etaToPhiBandwidthRatio = 1.0);
12 
13  double operator()(const fftjet::RecombinedJet<VectorLike>& jet, const fftjet::Peak& peak) const;
14 
15  private:
16  double etaBw_;
17  double phiBw_;
18  };
19 } // namespace fftjetcms
20 
21 #endif // RecoJets_FFTJetAlgorithm_JetToPeakDistance_h
JetToPeakDistance(double etaToPhiBandwidthRatio=1.0)
double operator()(const fftjet::RecombinedJet< VectorLike > &jet, const fftjet::Peak &peak) const