CMS 3D CMS Logo

Chi2.h
Go to the documentation of this file.
1 
11 #ifndef Alignment_SurveyAnalysis_Chi2_H
12 #define Alignment_SurveyAnalysis_Chi2_H
13 
14 #include "TMatrixD.h"
15 
16 
17 class Chi2 {
18 
19  public:
20  Chi2(TMatrixD &, TMatrixD &, TMatrixD &);
21  ~Chi2();
22 
23  TMatrixD & getCovariance();
24  TMatrixD & getSolution();
25  double getChi2();
26  int getDOF();
27 
28  private:
29 
30  double myChi2;
31  int dof;
32  TMatrixD covariance;
33  TMatrixD leftMatrix;
34  TMatrixD rightMatrix;
35  TMatrixD solution;
36 
37 };
38 
39 #endif
TMatrixD covariance
Definition: Chi2.h:32
TMatrixD rightMatrix
Definition: Chi2.h:34
double getChi2()
Definition: Chi2.cc:31
TMatrixD solution
Definition: Chi2.h:35
Chi2(TMatrixD &, TMatrixD &, TMatrixD &)
Definition: Chi2.cc:3
double myChi2
Definition: Chi2.h:30
TMatrixD & getCovariance()
Definition: Chi2.cc:29
TMatrixD & getSolution()
Definition: Chi2.cc:30
TMatrixD leftMatrix
Definition: Chi2.h:33
~Chi2()
Definition: Chi2.cc:27
int dof
Definition: Chi2.h:31
Definition: Chi2.h:17
int getDOF()
Definition: Chi2.cc:32