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  // inspectors
62  inline const PattRecoPeak<Real>& f_precluster() const {return peak_;}
63  inline const math::XYZTLorentzVector& f_vec() const {return vec_;}
64  inline const math::XYZTLorentzVector& f_pileup() const {return pileup_;}
65  inline Real f_ncells() const {return ncells_;}
66  inline Real f_etSum() const {return etSum_;}
67  inline Real f_centroidEta() const {return centroidEta_;}
68  inline Real f_centroidPhi() const {return centroidPhi_;}
69  inline Real f_etaWidth() const {return etaWidth_;}
70  inline Real f_phiWidth() const {return phiWidth_;}
71  inline Real f_etaPhiCorr() const {return etaPhiCorr_;}
72  inline Real f_fuzziness() const {return fuzziness_;}
73  inline Real f_convergenceDistance() const {return convergenceD_;}
74  inline Real f_recoScale() const {return recoScale_;}
75  inline Real f_recoScaleRatio() const {return recoScaleRatio_;}
76  inline Real f_membershipFactor() const {return membershipFactor_;}
77  inline int f_code() const {return code_;}
78  inline int f_status() const {return status_;}
79 
80  // modifiers
81  inline void setPileup(const math::XYZTLorentzVector& p) {pileup_ = p;}
82  inline void setFourVec(const math::XYZTLorentzVector& p) {vec_ = p;}
83  inline void setCode(const int c) {code_ = c;}
84  inline void setStatus(const int c) {status_ = c;}
85  inline void setNCells(const double nc) {ncells_ = nc;}
86 
87  private:
103  int code_;
104  int status_;
105  };
106 }
107 
108 #endif
Preclusters from FFTJet pattern recognition stage.
Definition: PattRecoPeak.h:17
Real f_convergenceDistance() const
Definition: FFTJet.h:73
Real etaPhiCorr_
Definition: FFTJet.h:97
Real etSum_
Definition: FFTJet.h:92
PattRecoPeak< Real > peak_
Definition: FFTJet.h:88
int f_status() const
Definition: FFTJet.h:78
Real convergenceD_
Definition: FFTJet.h:99
Real f_centroidPhi() const
Definition: FFTJet.h:68
int f_code() const
Definition: FFTJet.h:77
void setCode(const int c)
Definition: FFTJet.h:83
virtual ~FFTJet()
Definition: FFTJet.h:59
void setStatus(const int c)
Definition: FFTJet.h:84
Real f_membershipFactor() const
Definition: FFTJet.h:76
Real membershipFactor_
Definition: FFTJet.h:102
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
Real f_etSum() const
Definition: FFTJet.h:66
Real f_phiWidth() const
Definition: FFTJet.h:70
Real f_centroidEta() const
Definition: FFTJet.h:67
Real f_recoScale() const
Definition: FFTJet.h:74
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:65
const math::XYZTLorentzVector & f_vec() const
Definition: FFTJet.h:63
Real etaWidth_
Definition: FFTJet.h:95
Real phiWidth_
Definition: FFTJet.h:96
Real ncells_
Definition: FFTJet.h:91
void setNCells(const double nc)
Definition: FFTJet.h:85
void setPileup(const math::XYZTLorentzVector &p)
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:62
Real f_etaWidth() const
Definition: FFTJet.h:69
double Real
Real recoScaleRatio_
Definition: FFTJet.h:101
int code_
Definition: FFTJet.h:103
math::XYZTLorentzVector vec_
Definition: FFTJet.h:89
Real fuzziness_
Definition: FFTJet.h:98
void setFourVec(const math::XYZTLorentzVector &p)
Definition: FFTJet.h:82
Real f_etaPhiCorr() const
Definition: FFTJet.h:71
Real centroidPhi_
Definition: FFTJet.h:94
math::XYZTLorentzVector pileup_
Definition: FFTJet.h:90
Real recoScale_
Definition: FFTJet.h:100
const math::XYZTLorentzVector & f_pileup() const
Definition: FFTJet.h:64
Real centroidEta_
Definition: FFTJet.h:93
tuple status
Definition: ntuplemaker.py:245
int status_
Definition: FFTJet.h:104
Real f_recoScaleRatio() const
Definition: FFTJet.h:75
Real f_fuzziness() const
Definition: FFTJet.h:72