CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LinearFitErrorsIn2Coord.h
Go to the documentation of this file.
1 #ifndef LinearFitErrorsIn2Coord_H
2 #define LinearFitErrorsIn2Coord_H
3 
4 #include <vector>
5 
11 
12 public:
13 
19  float slope(const std::vector<float> & x, const std::vector<float> & y, int ndat,
20  const std::vector<float> & sigx, const std::vector<float> & sigy) const;
21 
24  float intercept(const std::vector<float> & x, const std::vector<float> & y, int ndat,
25  const std::vector<float> & sigx, const std::vector<float> & sigy) const;
26 
27 private:
28 
29  float variance(const std::vector<float> & x, int ndat) const;
30 
31 
32 };
33 
34 #endif
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
float variance(const std::vector< float > &x, int ndat) const
Definition: DDAxes.h:10
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