CMS 3D CMS Logo

LinearFitErrorsIn2Coord.h
Go to the documentation of this file.
1 #ifndef LinearFitErrorsIn2Coord_H
2 #define LinearFitErrorsIn2Coord_H
3 
4 #include <vector>
5 
11 public:
17  float slope(const std::vector<float>& x,
18  const std::vector<float>& y,
19  int ndat,
20  const std::vector<float>& sigx,
21  const std::vector<float>& sigy) const;
22 
25  float intercept(const std::vector<float>& x,
26  const std::vector<float>& y,
27  int ndat,
28  const std::vector<float>& sigx,
29  const std::vector<float>& sigy) const;
30 
31 private:
32  float variance(const std::vector<float>& x, int ndat) const;
33 };
34 
35 #endif
DDAxes::y
LinearFitErrorsIn2Coord::slope
float slope(const std::vector< float > &x, const std::vector< float > &y, int ndat, const std::vector< float > &sigx, const std::vector< float > &sigy) const
Definition: LinearFitErrorsIn2Coord.cc:5
DDAxes::x
LinearFitErrorsIn2Coord
Definition: LinearFitErrorsIn2Coord.h:10
LinearFitErrorsIn2Coord::variance
float variance(const std::vector< float > &x, int ndat) const
Definition: LinearFitErrorsIn2Coord.cc:48
LinearFitErrorsIn2Coord::intercept
float intercept(const std::vector< float > &x, const std::vector< float > &y, int ndat, const std::vector< float > &sigx, const std::vector< float > &sigy) const
Definition: LinearFitErrorsIn2Coord.cc:31