~m-a-uchida/maus/RKdEdxDevel

« back to all changes in this revision

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

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
      _a_excluded = a;
174
174
      break;
175
175
    default :
176
 
      throw(Squeal(Squeal::recoverable,
 
176
      throw(Exception(Exception::recoverable,
177
177
            "Bad request.",
178
178
            "KalmanState::set_a"));
179
179
  }
194
194
      return _a_excluded;
195
195
      break;
196
196
    default :
197
 
      throw(Squeal(Squeal::recoverable,
 
197
      throw(Exception(Exception::recoverable,
198
198
            "Bad request.",
199
199
            "KalmanState::get_a"));
200
200
  }
215
215
      _C_excluded = C;
216
216
      break;
217
217
    default :
218
 
      throw(Squeal(Squeal::recoverable,
 
218
      throw(Exception(Exception::recoverable,
219
219
            "Bad request.",
220
220
            "KalmanState::set_covariance_matrix"));
221
221
  }
237
237
      // add this.
238
238
      break;
239
239
    default :
240
 
      throw(Squeal(Squeal::recoverable,
 
240
      throw(Exception(Exception::recoverable,
241
241
            "Bad request.",
242
242
            "KalmanState::get_covariance_matrix"));
243
243
  }
258
258
      _excluded_residual = residual;
259
259
      break;
260
260
    default :
261
 
      throw(Squeal(Squeal::recoverable,
 
261
      throw(Exception(Exception::recoverable,
262
262
            "Bad request.",
263
263
            "KalmanState::set_residual"));
264
264
  }
279
279
      return _excluded_residual;
280
280
      break;
281
281
    default :
282
 
      throw(Squeal(Squeal::recoverable,
 
282
      throw(Exception(Exception::recoverable,
283
283
            "Bad request.",
284
284
            "KalmanState::get_residual"));
285
285
  }
297
297
      _covariance_excluded_residual = C;
298
298
      break;
299
299
    default :
300
 
      throw(Squeal(Squeal::recoverable,
 
300
      throw(Exception(Exception::recoverable,
301
301
            "Bad request.",
302
302
            "KalmanState::set_covariance_residual"));
303
303
  }
315
315
      return _covariance_excluded_residual;
316
316
      break;
317
317
    default :
318
 
      throw(Squeal(Squeal::recoverable,
 
318
      throw(Exception(Exception::recoverable,
319
319
            "Bad request.",
320
320
            "KalmanState::get_covariance_matrix"));
321
321
  }
332
332
    case(Excluded) :
333
333
      break;
334
334
    default :
335
 
      throw(Squeal(Squeal::recoverable,
 
335
      throw(Exception(Exception::recoverable,
336
336
            "Bad request.",
337
337
            "KalmanState::set_chi2"));
338
338
  }
347
347
      return _s_chi2;
348
348
      break;
349
349
    default :
350
 
      throw(Squeal(Squeal::recoverable,
 
350
      throw(Exception(Exception::recoverable,
351
351
            "Bad request.",
352
352
            "KalmanState::get_chi2"));
353
353
  }