~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

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

  • Committer: Adam Dobbs
  • Date: 2016-09-14 16:28:53 UTC
  • mfrom: (659.2.49 release-candidate)
  • Revision ID: phuccj@gmail.com-20160914162853-6cyg9n8322bsl9jh
Tags: MAUS-v2.6, MAUS-v2.6.0
MAUS-v2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
 
88
88
  State CalculateResidual(const State& st1, const State& st2) {
89
89
    if (st1._dimension != st2._dimension) {
90
 
      throw Exception(Exception::recoverable,
 
90
      throw Exceptions::Exception(Exceptions::recoverable,
91
91
          "States have different dimensions",
92
92
          "Kalman::CalculateResidual()");
93
93
    }
201
201
 
202
202
  void TrackFit::SetSeed(State seed) {
203
203
    if (seed.GetDimension() != _dimension) {
204
 
      throw Exception(Exception::recoverable,
 
204
      throw Exceptions::Exception(Exceptions::recoverable,
205
205
          "Seed dimension does not match the track fitter",
206
206
          "Kalman::TrackFit::SetSeed()");
207
207
    }
210
210
 
211
211
  void TrackFit::SetTrack(Track track) {
212
212
    if (track.GetDimension() != _dimension) {
213
 
      throw Exception(Exception::recoverable,
 
213
      throw Exceptions::Exception(Exceptions::recoverable,
214
214
          "Track dimension does not match the track fitter",
215
215
          "Kalman::TrackFit::SetTrack()");
216
216
    }