CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ptPar0_[nEta], ptPar1_[nEta];
21  static double cotPar0_[nEta], cotPar1_[nEta], cotPar2_[nEta];
22  static double tipPar0_[nEta], tipPar1_[nEta];
23  static double zipPar0_[nEta], zipPar1_[nEta];
24  static double phiPar0_[nEta], phiPar1_[nEta];
25 };
26 
27 #endif
static double cotPar1_[nEta]
static double ptPar0_[nEta]
static const unsigned int nEta
static double cotPar2_[nEta]
static double zipPar1_[nEta]
static double phiPar1_[nEta]
T eta() const
static double ptPar1_[nEta]
static double phiPar0_[nEta]
static double tipPar0_[nEta]
T sqrt(T t)
Definition: SSEVec.h:48
static double tipPar1_[nEta]
PixelTrackErrorParam(double eta, double pt)
static double cotPar0_[nEta]
static double zipPar0_[nEta]