LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
LinFitAlg.h
Go to the documentation of this file.
1 #ifndef LINFITALG_H
11 #define LINFITALG_H
12 
13 #include <vector>
14 
15 namespace trkf {
16 
17  class LinFitAlg {
18  public:
19  void LinFit(std::vector<float>& x,
20  std::vector<float>& y,
21  std::vector<float>& ey2,
22  float& Intercept,
23  float& Slope,
24  float& InterceptError,
25  float& SlopeError,
26  float& ChiDOF) const;
27 
28  }; // class LinFitAlg
29 
30 } // namespace trkf
31 
32 #endif // ifndef LINFITALG_H
Float_t x
Definition: compare.C:6
Float_t y
Definition: compare.C:6
void LinFit(std::vector< float > &x, std::vector< float > &y, std::vector< float > &ey2, float &Intercept, float &Slope, float &InterceptError, float &SlopeError, float &ChiDOF) const
Definition: LinFitAlg.cxx:16