3 Chi2::Chi2(TMatrixD &
m, TMatrixD &ym, TMatrixD &merrors) {
9 TMatrixD m_leftMatrix(mt*merrors*m);
10 TMatrixD m_rightMatrix(mt*merrors*ym);
11 leftMatrix.ResizeTo(m_leftMatrix.GetNrows(), m_leftMatrix.GetNcols());
12 rightMatrix.ResizeTo(m_rightMatrix.GetNrows(), m_rightMatrix.GetNcols());
13 covariance.ResizeTo(m_leftMatrix.GetNrows(), m_leftMatrix.GetNrows());
18 solution.ResizeTo(m_solution.GetNrows(), m_solution.GetNcols());
20 TMatrixD m_Chi2((yt-m_solution.T()*
mt)*merrors*(ym-m*
solution));
22 dof = ym.GetNrows()-solution.GetNrows();
Chi2(TMatrixD &, TMatrixD &, TMatrixD &)
TMatrixD & getCovariance()