CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RZLine.h
Go to the documentation of this file.
1 #ifndef PixelTrackFitting_RZLine_H
2 #define PixelTrackFitting_RZLine_H
3 
6 #include <vector>
7 
8 class RZLine {
9 public:
10 
11 
12  RZLine( const std::vector<GlobalPoint> & points,
13  const std::vector<GlobalError> & errors,
14  const std::vector<bool> isBarrel);
15  RZLine( const std::vector<float> & aR,
16  const std::vector<float> & aZ,
17  const std::vector<float> & aErrZ);
18 
19  void fit(float & cotTheta, float & intercept, float &covss, float &covii, float &covsi) const;
20 
21  float chi2(float cotTheta, float intercept) const;
22 
23 private:
24  std::vector<float> storage;
25  int nPoints;
26  float *r, *z, *errZ2;
27 };
28 #endif
float * errZ2
Definition: RZLine.h:26
Definition: RZLine.h:8
RZLine(const std::vector< GlobalPoint > &points, const std::vector< GlobalError > &errors, const std::vector< bool > isBarrel)
Definition: RZLine.cc:22
std::vector< float > storage
Definition: RZLine.h:24
void fit(float &cotTheta, float &intercept, float &covss, float &covii, float &covsi) const
Definition: RZLine.cc:44
float * r
Definition: RZLine.h:26
int nPoints
Definition: RZLine.h:25
float chi2(float cotTheta, float intercept) const
Definition: RZLine.cc:50
float * z
Definition: RZLine.h:26