~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

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

MAUS-v2.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
  State CalculateResidual(const State& st1, const State& st2);
42
42
 
43
43
  /** @brief Fast was to calculate the chis-sq update */
44
 
  double CalculteChiSquaredUpdate(const State st);
 
44
  double CalculateChiSquaredUpdate(const State& st);
45
45
 
46
46
 
47
47
  /** @class TrackFit
65
65
     */
66
66
    virtual ~TrackFit();
67
67
 
 
68
    /** @brief Return a pointer to the propagator object
 
69
     */
 
70
    Propagator_base* GetPropagator() { return _propagator; }
 
71
    const Propagator_base* GetPropagator() const { return _propagator; }
 
72
 
 
73
    /** @brief Return a pointer to the mapped measurement object
 
74
     */
 
75
    Measurement_base* GetMeasurement(int id) { return _measurements[id]; }
 
76
    const Measurement_base* GetMeasurement(int id) const { return _measurements.at(id); }
 
77
 
68
78
    /** @brief Append a new data state, predict from the previous trackpoint and filter.
69
79
     *
70
80
     *  A short cut function to save computations. 
150
160
    std::map<int, Measurement_base*> _measurements;
151
161
 
152
162
    State _seed;
153
 
 
154
163
    Track _track;
155
164
 
156
 
//    Track _data;
157
 
//    Track _predicted;
158
 
//    Track _filtered;
159
 
//    Track _smoothed;
160
 
 
161
165
    TMatrixD _identity_matrix;
162
166
  };
163
167
} // namespace Kalman