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