CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTLinearFit.h
Go to the documentation of this file.
1 #ifndef DTSegment_DTLinearFit_h
2 #define DTSegment_DTLinearFit_h
3 
16 /* Base Class Headers */
17 
18 /* Collaborating Class Declarations */
19 
20 /* C++ Headers */
21 #include <vector>
22 
23 /* ====================================================================== */
24 
25 /* Class DTLinearFit Interface */
26 
28 
29  public:
30 
32  DTLinearFit() ;
33 
35  ~DTLinearFit() ;
36 
37 /* Operations */
38  void fit(const std::vector<float> & x,
39  const std::vector<float> & y,
40  int ndat,
41  const std::vector<float> & sigy,
42  float& slope,
43  float& intercept,
44  float& covss,
45  float& covii,
46  float& covsi) const;
47 
48  protected:
49 
50  private:
51 
52 };
53 #endif // DTSegment_DTLinearFit_h
static const double slope[3]
~DTLinearFit()
Destructor.
Definition: DTLinearFit.cc:24
DTLinearFit()
Constructor.
Definition: DTLinearFit.cc:19
void fit(const std::vector< float > &x, const std::vector< float > &y, int ndat, const std::vector< float > &sigy, float &slope, float &intercept, float &covss, float &covii, float &covsi) const
Definition: DTLinearFit.cc:28
Definition: DDAxes.h:10