CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/RecoJets/FFTJetAlgorithms/interface/JetConvergenceDistance.h

Go to the documentation of this file.
00001 #ifndef RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h
00002 #define RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h
00003 
00004 #include "fftjet/SimpleFunctors.hh"
00005 #include "fftjet/RecombinedJet.hh"
00006 
00007 #include "RecoJets/FFTJetAlgorithms/interface/fftjetTypedefs.h"
00008 
00009 namespace fftjetcms {
00010     class JetConvergenceDistance : public fftjet::Functor2 <
00011         double,
00012         fftjet::RecombinedJet<VectorLike>,
00013         fftjet::RecombinedJet<VectorLike> >
00014     {
00015     public:
00016         JetConvergenceDistance(double etaToPhiBandwidthRatio,
00017                                double relativePtBandwidth);
00018 
00019         double operator()(const fftjet::RecombinedJet<VectorLike>& jet1,
00020                           const fftjet::RecombinedJet<VectorLike>& jet2) const;
00021     private:
00022         JetConvergenceDistance();
00023 
00024         double etaBw_;
00025         double phiBw_;
00026         double ptBw_;
00027     };
00028 }
00029 
00030 #endif // RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h