~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/Kalman/KalmanFilter.cc

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
  TMatrixD A = TMatrixD(TMatrixD(_H, TMatrixD::kMult, C_a),
122
122
                        TMatrixD::kMultTranspose,
123
123
                        _H);
 
124
 
 
125
  TMatrixD B = TMatrixD(TMatrixD(_S, TMatrixD::kMult, C_s),
 
126
                        TMatrixD::kMultTranspose,
 
127
                        _S);
 
128
 
124
129
  _W.Zero();
125
 
  _W = _V + A;
 
130
  _W = _V + A + B;
126
131
  _W.Invert();
127
132
}
128
133