CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FFTJet.h
Go to the documentation of this file.
1 
12 #ifndef DataFormats_JetReco_FFTJet_h
13 #define DataFormats_JetReco_FFTJet_h
14 
17 
18 namespace reco {
19  template<class Real>
20  class FFTJet
21  {
22  public:
23  inline FFTJet()
24  : ncells_(0), etSum_(0), centroidEta_(0), centroidPhi_(0),
28  {
29  }
30 
31  inline FFTJet(const PattRecoPeak<Real>& peak,
32  const math::XYZTLorentzVector& vec,
33  double ncells, double etSum,
34  double centroidEta, double centroidPhi,
35  double etaWidth, double phiWidth,
36  double etaPhiCorr, double fuzziness,
37  double convergenceDistance, double recoScale,
38  double recoScaleRatio, double membershipFactor,
39  int code, int status)
40  : peak_(peak),
41  vec_(vec),
42  ncells_(ncells),
43  etSum_(etSum),
44  centroidEta_(centroidEta),
45  centroidPhi_(centroidPhi),
46  etaWidth_(etaWidth),
47  phiWidth_(phiWidth),
48  etaPhiCorr_(etaPhiCorr),
49  fuzziness_(fuzziness),
50  convergenceD_(convergenceDistance),
51  recoScale_(recoScale),
52  recoScaleRatio_(recoScaleRatio),
53  membershipFactor_(membershipFactor),
54  code_(code),
55  status_(status)
56  {
57  }
58 
59  inline virtual ~FFTJet() {}
60 
61  inline const PattRecoPeak<Real>& f_precluster() const {return peak_;}
62  inline const math::XYZTLorentzVector& f_vec() const {return vec_;}
63  inline Real f_ncells() const {return ncells_;}
64  inline Real f_etSum() const {return etSum_;}
65  inline Real f_centroidEta() const {return centroidEta_;}
66  inline Real f_centroidPhi() const {return centroidPhi_;}
67  inline Real f_etaWidth() const {return etaWidth_;}
68  inline Real f_phiWidth() const {return phiWidth_;}
69  inline Real f_etaPhiCorr() const {return etaPhiCorr_;}
70  inline Real f_fuzziness() const {return fuzziness_;}
71  inline Real f_convergenceDistance() const {return convergenceD_;}
72  inline Real f_recoScale() const {return recoScale_;}
73  inline Real f_recoScaleRatio() const {return recoScaleRatio_;}
74  inline Real f_membershipFactor() const {return membershipFactor_;}
75  inline int f_code() const {return code_;}
76  inline int f_status() const {return status_;}
77 
78  private:
93  int code_;
94  int status_;
95  };
96 }
97 
98 #endif
Preclusters from FFTJet pattern recognition stage.
Definition: PattRecoPeak.h:17
Real f_convergenceDistance() const
Definition: FFTJet.h:71
Real etaPhiCorr_
Definition: FFTJet.h:87
Real etSum_
Definition: FFTJet.h:82
PattRecoPeak< Real > peak_
Definition: FFTJet.h:79
int f_status() const
Definition: FFTJet.h:76
Real convergenceD_
Definition: FFTJet.h:89
Real f_centroidPhi() const
Definition: FFTJet.h:66
int f_code() const
Definition: FFTJet.h:75
virtual ~FFTJet()
Definition: FFTJet.h:59
Real f_membershipFactor() const
Definition: FFTJet.h:74
Real membershipFactor_
Definition: FFTJet.h:92
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
Real f_etSum() const
Definition: FFTJet.h:64
Real f_phiWidth() const
Definition: FFTJet.h:68
Real f_centroidEta() const
Definition: FFTJet.h:65
Real f_recoScale() const
Definition: FFTJet.h:72
FFTJet(const PattRecoPeak< Real > &peak, const math::XYZTLorentzVector &vec, double ncells, double etSum, double centroidEta, double centroidPhi, double etaWidth, double phiWidth, double etaPhiCorr, double fuzziness, double convergenceDistance, double recoScale, double recoScaleRatio, double membershipFactor, int code, int status)
Definition: FFTJet.h:31
Real f_ncells() const
Definition: FFTJet.h:63
const math::XYZTLorentzVector & f_vec() const
Definition: FFTJet.h:62
Real etaWidth_
Definition: FFTJet.h:85
Real phiWidth_
Definition: FFTJet.h:86
Real ncells_
Definition: FFTJet.h:81
Storage class for jets reconstructed by FFTJet package.
Definition: FFTJet.h:20
const PattRecoPeak< Real > & f_precluster() const
Definition: FFTJet.h:61
Real f_etaWidth() const
Definition: FFTJet.h:67
double Real
Real recoScaleRatio_
Definition: FFTJet.h:91
int code_
Definition: FFTJet.h:93
math::XYZTLorentzVector vec_
Definition: FFTJet.h:80
Real fuzziness_
Definition: FFTJet.h:88
Real f_etaPhiCorr() const
Definition: FFTJet.h:69
Real centroidPhi_
Definition: FFTJet.h:84
Real recoScale_
Definition: FFTJet.h:90
Real centroidEta_
Definition: FFTJet.h:83
tuple status
Definition: ntuplemaker.py:245
int status_
Definition: FFTJet.h:94
Real f_recoScaleRatio() const
Definition: FFTJet.h:73
Real f_fuzziness() const
Definition: FFTJet.h:70