CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoJets/FFTJetAlgorithms/interface/JetToPeakDistance.h

Go to the documentation of this file.
00001 #ifndef RecoJets_FFTJetAlgorithm_JetToPeakDistance_h
00002 #define RecoJets_FFTJetAlgorithm_JetToPeakDistance_h
00003 
00004 #include "fftjet/RecombinedJet.hh"
00005 
00006 #include "RecoJets/FFTJetAlgorithms/interface/fftjetTypedefs.h"
00007 
00008 namespace fftjetcms {
00009     class JetToPeakDistance
00010     {
00011     public:
00012         explicit JetToPeakDistance(double etaToPhiBandwidthRatio = 1.0);
00013 
00014         double operator()(const fftjet::RecombinedJet<VectorLike>& jet,
00015                           const fftjet::Peak& peak) const;
00016     private:
00017         double etaBw_;
00018         double phiBw_;
00019     };
00020 }
00021 
00022 #endif // RecoJets_FFTJetAlgorithm_JetToPeakDistance_h