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 
14 /* Base Class Headers */
15 
16 /* Collaborating Class Declarations */
17 
18 /* C++ Headers */
19 #include <vector>
20 
21 /* ====================================================================== */
22 
23 /* Class DTLinearFit Interface */
24 
26 
27  public:
28 
30  DTLinearFit() ;
31 
33  ~DTLinearFit() ;
34 
35 /* Operations */
36  void fit(const std::vector<float> & x,
37  const std::vector<float> & y,
38  int ndat,
39  const std::vector<float> & sigy,
40  float& slope,
41  float& intercept,
42  float& covss,
43  float& covii,
44  float& covsi) const;
45 
46  protected:
47 
48  private:
49 
50 };
51 #endif // DTSegment_DTLinearFit_h
static const double slope[3]
~DTLinearFit()
Destructor.
Definition: DTLinearFit.cc:22
DTLinearFit()
Constructor.
Definition: DTLinearFit.cc:17
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:26
Definition: DDAxes.h:10