Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-30 02:33:21

0001 #ifndef RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h
0002 #define RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h
0003 
0004 #include "fftjet/SimpleFunctors.hh"
0005 #include "fftjet/RecombinedJet.hh"
0006 
0007 #include "RecoJets/FFTJetAlgorithms/interface/fftjetTypedefs.h"
0008 
0009 namespace fftjetcms {
0010   class JetConvergenceDistance
0011       : public fftjet::Functor2<double, fftjet::RecombinedJet<VectorLike>, fftjet::RecombinedJet<VectorLike> > {
0012   public:
0013     JetConvergenceDistance(double etaToPhiBandwidthRatio, double relativePtBandwidth);
0014     JetConvergenceDistance() = delete;
0015 
0016     double operator()(const fftjet::RecombinedJet<VectorLike>& jet1,
0017                       const fftjet::RecombinedJet<VectorLike>& jet2) const override;
0018 
0019   private:
0020     double etaBw_;
0021     double phiBw_;
0022     double ptBw_;
0023   };
0024 }  // namespace fftjetcms
0025 
0026 #endif  // RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h