test
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 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
static const unsigned int nEta
static double const tipPar0_[nEta]
static double const ptPar1_[nEta]
static double const zipPar0_[nEta]
T sqrt(T t)
Definition: SSEVec.h:48
static double const cotPar2_[nEta]
static double const cotPar1_[nEta]
PixelTrackErrorParam(double eta, double pt)
static double const phiPar1_[nEta]
static double const phiPar0_[nEta]
static double const ptPar0_[nEta]
static double const tipPar1_[nEta]
static double const zipPar1_[nEta]
static double const cotPar0_[nEta]