CMS 3D CMS Logo

PixelTrackErrorParam.h
Go to the documentation of this file.
1 #ifndef PixelTrackFitting_PixelTrackErrorParam_H
2 #define PixelTrackFitting_PixelTrackErrorParam_H
3 #include <cmath>
4 
6 public:
7  PixelTrackErrorParam(double eta, double pt);
8  double errPt() const;
9  // { return ptPar0_[theIEta]*thePt + ptPar1_[theIEta]*thePt2; }
10  inline double errCot() const { return cotPar0_[theIEta] + cotPar1_[theIEta] / thePt + cotPar2_[theIEta] / thePt2; }
11  inline double errTip() const { return sqrt(tipPar0_[theIEta] + tipPar1_[theIEta] / thePt2); }
12  inline double errZip() const { return sqrt(zipPar0_[theIEta] + zipPar1_[theIEta] / thePt2); }
13  inline double errPhi() const { return sqrt(phiPar0_[theIEta] + phiPar1_[theIEta] / thePt2); }
14 
15 private:
16  unsigned int theIEta;
17  double thePt, thePt2;
18 
19  static const unsigned int nEta = 25;
20  static double const ptPar0_[nEta];
21  static double const ptPar1_[nEta];
22  static double const cotPar0_[nEta];
23  static double const cotPar1_[nEta];
24  static double const cotPar2_[nEta];
25  static double const tipPar0_[nEta];
26  static double const tipPar1_[nEta];
27  static double const zipPar0_[nEta];
28  static double const zipPar1_[nEta];
29  static double const phiPar0_[nEta];
30  static double const phiPar1_[nEta];
31 };
32 
33 #endif
PixelTrackErrorParam::thePt2
double thePt2
Definition: PixelTrackErrorParam.h:17
PixelTrackErrorParam::PixelTrackErrorParam
PixelTrackErrorParam(double eta, double pt)
Definition: PixelTrackErrorParam.cc:54
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
PixelTrackErrorParam::cotPar2_
static const double cotPar2_[nEta]
Definition: PixelTrackErrorParam.h:24
PixelTrackErrorParam::nEta
static const unsigned int nEta
Definition: PixelTrackErrorParam.h:19
PixelTrackErrorParam::zipPar1_
static const double zipPar1_[nEta]
Definition: PixelTrackErrorParam.h:28
PixelTrackErrorParam::errCot
double errCot() const
Definition: PixelTrackErrorParam.h:10
PixelTrackErrorParam::errPhi
double errPhi() const
Definition: PixelTrackErrorParam.h:13
PVValHelper::eta
Definition: PVValidationHelpers.h:70
PixelTrackErrorParam
Definition: PixelTrackErrorParam.h:5
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
PixelTrackErrorParam::errZip
double errZip() const
Definition: PixelTrackErrorParam.h:12
PixelTrackErrorParam::errTip
double errTip() const
Definition: PixelTrackErrorParam.h:11
PixelTrackErrorParam::ptPar1_
static const double ptPar1_[nEta]
Definition: PixelTrackErrorParam.h:21
PixelTrackErrorParam::zipPar0_
static const double zipPar0_[nEta]
Definition: PixelTrackErrorParam.h:27
PixelTrackErrorParam::thePt
double thePt
Definition: PixelTrackErrorParam.h:17
PixelTrackErrorParam::phiPar0_
static const double phiPar0_[nEta]
Definition: PixelTrackErrorParam.h:29
PixelTrackErrorParam::errPt
double errPt() const
Definition: PixelTrackErrorParam.cc:59
PixelTrackErrorParam::tipPar0_
static const double tipPar0_[nEta]
Definition: PixelTrackErrorParam.h:25
PixelTrackErrorParam::cotPar1_
static const double cotPar1_[nEta]
Definition: PixelTrackErrorParam.h:23
PixelTrackErrorParam::phiPar1_
static const double phiPar1_[nEta]
Definition: PixelTrackErrorParam.h:30
PixelTrackErrorParam::cotPar0_
static const double cotPar0_[nEta]
Definition: PixelTrackErrorParam.h:22
PixelTrackErrorParam::theIEta
unsigned int theIEta
Definition: PixelTrackErrorParam.h:16
PixelTrackErrorParam::tipPar1_
static const double tipPar1_[nEta]
Definition: PixelTrackErrorParam.h:26
PixelTrackErrorParam::ptPar0_
static const double ptPar0_[nEta]
Definition: PixelTrackErrorParam.h:20