~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/SciFi/SciFiGeometryHelper.hh

merging in changes in merge branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
 
176
176
  void SetDefaultMomentum(double mom) { _default_momentum = mom; }
177
177
 
 
178
  ThreeVector TransformPositionToGlobal(const ThreeVector& pos, int tracker) const;
 
179
 
 
180
  /** Transform the straight fit parameters (gradient and intercept in x-z and y-z) in to
 
181
   *  global coordinates and return as a vector. Vector component order is x0, mx, y0, my
 
182
   *  for both the input and output vector.
 
183
   *  @param params The straight fit parameters in tracker local coordinates (x0, mx, y0, my)
 
184
   *  @param tracker The tracker number, 0 = TkUS, 1 = TkDS
 
185
   *  @return The straight fit parameters in global coordinates (x0, mx, y0, my)
 
186
   */
 
187
  std::vector<double> TransformStraightParamsToGlobal(const std::vector<double>& params,
 
188
                                                      int tracker) const;
 
189
 
178
190
 private:
179
191
  std::vector<const MiceModule*> _modules;
180
192