CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Chi2.h
Go to the documentation of this file.
1 
10 #ifndef Alignment_SurveyAnalysis_Chi2_H
11 #define Alignment_SurveyAnalysis_Chi2_H
12 
13 #include "TMatrixD.h"
14 
15 class Chi2 {
16 public:
17  Chi2(TMatrixD &, TMatrixD &, TMatrixD &);
18  ~Chi2();
19 
20  TMatrixD &getCovariance();
21  TMatrixD &getSolution();
22  double getChi2();
23  int getDOF();
24 
25 private:
26  double myChi2;
27  int dof;
28  TMatrixD covariance;
29  TMatrixD leftMatrix;
30  TMatrixD rightMatrix;
31  TMatrixD solution;
32 };
33 
34 #endif
TMatrixD covariance
Definition: Chi2.h:28
TMatrixD rightMatrix
Definition: Chi2.h:30
double getChi2()
Definition: Chi2.cc:28
TMatrixD solution
Definition: Chi2.h:31
Chi2(TMatrixD &, TMatrixD &, TMatrixD &)
Definition: Chi2.cc:3
double myChi2
Definition: Chi2.h:26
TMatrixD & getCovariance()
Definition: Chi2.cc:26
TMatrixD & getSolution()
Definition: Chi2.cc:27
TMatrixD leftMatrix
Definition: Chi2.h:29
~Chi2()
Definition: Chi2.cc:24
int dof
Definition: Chi2.h:27
Definition: Chi2.h:15
int getDOF()
Definition: Chi2.cc:29