Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:22

0001 #ifndef RecoJets_FFTJetAlgorithm_JetToPeakDistance_h
0002 #define RecoJets_FFTJetAlgorithm_JetToPeakDistance_h
0003 
0004 #include "fftjet/RecombinedJet.hh"
0005 
0006 #include "RecoJets/FFTJetAlgorithms/interface/fftjetTypedefs.h"
0007 
0008 namespace fftjetcms {
0009   class JetToPeakDistance {
0010   public:
0011     explicit JetToPeakDistance(double etaToPhiBandwidthRatio = 1.0);
0012 
0013     double operator()(const fftjet::RecombinedJet<VectorLike>& jet, const fftjet::Peak& peak) const;
0014 
0015   private:
0016     double etaBw_;
0017     double phiBw_;
0018   };
0019 }  // namespace fftjetcms
0020 
0021 #endif  // RecoJets_FFTJetAlgorithm_JetToPeakDistance_h