File indexing completed on 2024-04-06 11:57:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef Alignment_SurveyAnalysis_Chi2_H
0011 #define Alignment_SurveyAnalysis_Chi2_H
0012
0013 #include "TMatrixD.h"
0014
0015 class Chi2 {
0016 public:
0017 Chi2(TMatrixD &, TMatrixD &, TMatrixD &);
0018 ~Chi2();
0019
0020 TMatrixD &getCovariance();
0021 TMatrixD &getSolution();
0022 double getChi2();
0023 int getDOF();
0024
0025 private:
0026 double myChi2;
0027 int dof;
0028 TMatrixD covariance;
0029 TMatrixD leftMatrix;
0030 TMatrixD rightMatrix;
0031 TMatrixD solution;
0032 };
0033
0034 #endif