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 
11 #ifndef DataFormats_JetReco_FFTJet_h
12 #define DataFormats_JetReco_FFTJet_h
13 
16 
17 namespace reco {
18  template<class Real>
19  class FFTJet
20  {
21  public:
22  inline FFTJet()
23  : ncells_(0), etSum_(0), centroidEta_(0), centroidPhi_(0),
27  {
28  }
29 
30  inline FFTJet(const PattRecoPeak<Real>& peak,
31  const math::XYZTLorentzVector& vec,
32  double ncells, double etSum,
33  double centroidEta, double centroidPhi,
34  double etaWidth, double phiWidth,
35  double etaPhiCorr, double fuzziness,
36  double convergenceDistance, double recoScale,
37  double recoScaleRatio, double membershipFactor,
38  int code, int status)
39  : peak_(peak),
40  vec_(vec),
41  ncells_(ncells),
42  etSum_(etSum),
43  centroidEta_(centroidEta),
44  centroidPhi_(centroidPhi),
45  etaWidth_(etaWidth),
46  phiWidth_(phiWidth),
47  etaPhiCorr_(etaPhiCorr),
48  fuzziness_(fuzziness),
49  convergenceD_(convergenceDistance),
50  recoScale_(recoScale),
51  recoScaleRatio_(recoScaleRatio),
52  membershipFactor_(membershipFactor),
53  code_(code),
54  status_(status)
55  {
56  }
57 
58  inline virtual ~FFTJet() {}
59 
60  // inspectors
61  inline const PattRecoPeak<Real>& f_precluster() const {return peak_;}
62  inline const math::XYZTLorentzVector& f_vec() const {return vec_;}
63  inline const math::XYZTLorentzVector& f_pileup() const {return pileup_;}
64  inline Real f_ncells() const {return ncells_;}
65  inline Real f_etSum() const {return etSum_;}
66  inline Real f_centroidEta() const {return centroidEta_;}
67  inline Real f_centroidPhi() const {return centroidPhi_;}
68  inline Real f_etaWidth() const {return etaWidth_;}
69  inline Real f_phiWidth() const {return phiWidth_;}
70  inline Real f_etaPhiCorr() const {return etaPhiCorr_;}
71  inline Real f_fuzziness() const {return fuzziness_;}
72  inline Real f_convergenceDistance() const {return convergenceD_;}
73  inline Real f_recoScale() const {return recoScale_;}
74  inline Real f_recoScaleRatio() const {return recoScaleRatio_;}
75  inline Real f_membershipFactor() const {return membershipFactor_;}
76  inline int f_code() const {return code_;}
77  inline int f_status() const {return status_;}
78 
79  // modifiers
80  inline void setPileup(const math::XYZTLorentzVector& p) {pileup_ = p;}
81  inline void setFourVec(const math::XYZTLorentzVector& p) {vec_ = p;}
82  inline void setCode(const int c) {code_ = c;}
83  inline void setStatus(const int c) {status_ = c;}
84  inline void setNCells(const double nc) {ncells_ = nc;}
85 
86  private:
102  int code_;
103  int status_;
104  };
105 }
106 
107 #endif
Preclusters from FFTJet pattern recognition stage.
Definition: PattRecoPeak.h:16
Real f_convergenceDistance() const
Definition: FFTJet.h:72
Real etaPhiCorr_
Definition: FFTJet.h:96
Real etSum_
Definition: FFTJet.h:91
PattRecoPeak< Real > peak_
Definition: FFTJet.h:87
int f_status() const
Definition: FFTJet.h:77
Real convergenceD_
Definition: FFTJet.h:98
Real f_centroidPhi() const
Definition: FFTJet.h:67
int f_code() const
Definition: FFTJet.h:76
void setCode(const int c)
Definition: FFTJet.h:82
virtual ~FFTJet()
Definition: FFTJet.h:58
void setStatus(const int c)
Definition: FFTJet.h:83
Real f_membershipFactor() const
Definition: FFTJet.h:75
Real membershipFactor_
Definition: FFTJet.h:101
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
Real f_etSum() const
Definition: FFTJet.h:65
Real f_phiWidth() const
Definition: FFTJet.h:69
Real f_centroidEta() const
Definition: FFTJet.h:66
Real f_recoScale() const
Definition: FFTJet.h:73
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:30
Real f_ncells() const
Definition: FFTJet.h:64
const math::XYZTLorentzVector & f_vec() const
Definition: FFTJet.h:62
Real etaWidth_
Definition: FFTJet.h:94
Real phiWidth_
Definition: FFTJet.h:95
Real ncells_
Definition: FFTJet.h:90
void setNCells(const double nc)
Definition: FFTJet.h:84
void setPileup(const math::XYZTLorentzVector &p)
Definition: FFTJet.h:80
Storage class for jets reconstructed by FFTJet package.
Definition: FFTJet.h:19
const PattRecoPeak< Real > & f_precluster() const
Definition: FFTJet.h:61
Real f_etaWidth() const
Definition: FFTJet.h:68
double Real
Real recoScaleRatio_
Definition: FFTJet.h:100
int code_
Definition: FFTJet.h:102
math::XYZTLorentzVector vec_
Definition: FFTJet.h:88
Real fuzziness_
Definition: FFTJet.h:97
void setFourVec(const math::XYZTLorentzVector &p)
Definition: FFTJet.h:81
Real f_etaPhiCorr() const
Definition: FFTJet.h:70
Real centroidPhi_
Definition: FFTJet.h:93
math::XYZTLorentzVector pileup_
Definition: FFTJet.h:89
Real recoScale_
Definition: FFTJet.h:99
const math::XYZTLorentzVector & f_pileup() const
Definition: FFTJet.h:63
Real centroidEta_
Definition: FFTJet.h:92
tuple status
Definition: ntuplemaker.py:245
int status_
Definition: FFTJet.h:103
Real f_recoScaleRatio() const
Definition: FFTJet.h:74
Real f_fuzziness() const
Definition: FFTJet.h:71