~cheid001/maus/Flip_Correction_Distro

« back to all changes in this revision

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

  • Committer: Adam Dobbs
  • Date: 2015-06-26 14:33:50 UTC
  • mfrom: (659.1.113 release-candidate)
  • Revision ID: phuccj@gmail.com-20150626143350-m56pbthi31ahqvxj
Tags: MAUS-v0.9.6
MAUS-v0.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
// C++ headers
29
29
#include <vector>
30
30
 
 
31
// ROOT headers
 
32
#include "TMatrixD.h"
 
33
 
31
34
// MAUS headers
32
35
#include "src/common_cpp/Recon/SciFi/SimpleLine.hh"
33
36
#include "src/common_cpp/Recon/SciFi/SimpleCircle.hh"
46
49
    *
47
50
    */
48
51
  void linear_fit(const std::vector<double> &_x, const std::vector<double> &_y,
49
 
                  const std::vector<double> &_y_err, MAUS::SimpleLine &line);
 
52
                  const std::vector<double> &_y_err, MAUS::SimpleLine &line,
 
53
                  TMatrixD& covariance);
50
54
 
51
55
  /** @brief Fit a circle to spacepoints in x-y projection
52
56
    *
61
65
    *
62
66
    */
63
67
  bool circle_fit(const double sd_1to4, const double sd_5, const double R_res_cut,
64
 
                  const std::vector<MAUS::SciFiSpacePoint*> &spnts, MAUS::SimpleCircle &circle);
 
68
                  const std::vector<MAUS::SciFiSpacePoint*> &spnts, MAUS::SimpleCircle &circle,
 
69
                  TMatrixD& covariance);
65
70
 
66
71
} // ~namespace LeastSquaresFitter
67
72