CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
JetConvergenceDistance.h
Go to the documentation of this file.
1 #ifndef RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h
2 #define RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h
3 
4 #include "fftjet/SimpleFunctors.hh"
5 #include "fftjet/RecombinedJet.hh"
6 
8 
9 namespace fftjetcms {
11  : public fftjet::Functor2<double, fftjet::RecombinedJet<VectorLike>, fftjet::RecombinedJet<VectorLike> > {
12  public:
13  JetConvergenceDistance(double etaToPhiBandwidthRatio, double relativePtBandwidth);
14  JetConvergenceDistance() = delete;
15 
16  double operator()(const fftjet::RecombinedJet<VectorLike>& jet1,
17  const fftjet::RecombinedJet<VectorLike>& jet2) const override;
18 
19  private:
20  double etaBw_;
21  double phiBw_;
22  double ptBw_;
23  };
24 } // namespace fftjetcms
25 
26 #endif // RecoJets_FFTJetAlgorithm_JetConvergenceDistance_h
double operator()(const fftjet::RecombinedJet< VectorLike > &jet1, const fftjet::RecombinedJet< VectorLike > &jet2) const override