CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FFTJetCorrectorResult.h
Go to the documentation of this file.
1 //
2 // This is the type returned by jet correctors
3 //
4 // Igor Volobouev
5 // Aug 3, 2012
6 //
7 
8 #ifndef JetMETCorrections_FFTJetObjects_FFTJetCorrectorResult_h
9 #define JetMETCorrections_FFTJetObjects_FFTJetCorrectorResult_h
10 
12 
14 {
15 public:
17 
19  const double correctionScale,
20  const double systematicUncertainty)
21  : vec_(v), scale_(correctionScale), sigma_(systematicUncertainty) {}
22 
23  inline const LorentzVector& vec() const {return vec_;}
24  inline double scale() const {return scale_;}
25  inline double sigma() const {return sigma_;}
26 
27  inline void setVec(const LorentzVector& v) {vec_ = v;}
28  inline void setScale(const double s) {scale_ = s;}
29  inline void setSigma(const double s) {sigma_ = s;}
30 
31 private:
33 
35  double scale_;
36  double sigma_;
37 };
38 
39 #endif // JetMETCorrections_FFTJetObjects_FFTJetCorrectorResult_h
void setSigma(const double s)
const LorentzVector & vec() const
FFTJetCorrectorResult(const LorentzVector &v, const double correctionScale, const double systematicUncertainty)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
void setScale(const double s)
void setVec(const LorentzVector &v)
math::XYZTLorentzVector LorentzVector