~maus-scifi/maus/tracker_devel

« back to all changes in this revision

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

  • Committer: Christopher Hunt
  • Date: 2015-01-29 16:17:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1143.
  • Revision ID: christopher.hunt08@imperial.ac.uk-20150129161720-n8pjzvdoffnsqj3o
Updatest to kalman. Use PatRec for state vector and covariance seeds

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
  TMatrixD ComputeInitialStateVector(const SciFiStraightPRTrack* seed,
81
81
                                     const SciFiSpacePointPArray &spacepoints);
82
82
 
 
83
  /** @brief Computes the initial covariance matrix for helical track.
 
84
   */
 
85
  TMatrixD ComputeInitialCovariance(const SciFiHelicalPRTrack* seed);
 
86
 
 
87
  /** @brief Computes the initial covariance matrix for straight track.
 
88
   */
 
89
  TMatrixD ComputeInitialCovariance(const SciFiStraightPRTrack* seed);
 
90
 
83
91
  /** @brief Fills the _clusters member.
84
92
   */
85
93
  void RetrieveClusters(SciFiSpacePointPArray &spacepoints);
135
143
   */
136
144
  double _seed_cov;
137
145
 
 
146
  TMatrixD _full_covariance;
 
147
 
138
148
  double _pos_resolution;
139
149
 
140
150
  SciFiGeometryMap _geometry_map;
167
177
  _tracker = pr_track->get_tracker();
168
178
 
169
179
  _a0.ResizeTo(_n_parameters, 1);
 
180
  _full_covariance.ResizeTo(_n_parameters, _n_parameters);
170
181
 
171
182
  SciFiSpacePointPArray spacepoints = pr_track->get_spacepoints_pointers();
172
183
  RetrieveClusters(spacepoints);
173
184
  _a0 = ComputeInitialStateVector(pr_track, spacepoints);
 
185
  _full_covariance = ComputeInitialCovariance(pr_track);
174
186
  BuildKalmanStates();
175
187
}
176
188