~ajdobbs/maus/patrec-helix-fit

« back to all changes in this revision

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

  • Committer: Adam Dobbs
  • Date: 2017-09-14 16:12:12 UTC
  • mfrom: (1212.1.12 merge)
  • Revision ID: phuccj@gmail.com-20170914161212-yz25u1g8t3wpdc7p
Patrec minuit circle and sz fits now have input errors, also fixed bug in minuit s0 calculation

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
  * @param[in] cut The pattern recongition longitundal chisq cut, used by the dsdz scan function
78
78
  */
79
79
bool FitHelixMinuit(const std::vector<double>& x, const std::vector<double>& y,
80
 
                    const std::vector<double>& z, const double* pStart,
81
 
                    MAUS::SimpleHelix& helix, int handedness = 0, double cut = -1.0);
 
80
                    const std::vector<double>& z, const std::vector<double>& err,
 
81
                    const double* pStart, MAUS::SimpleHelix& helix, int handedness = 0,
 
82
                    double cut = -1.0);
82
83
 
83
84
/** Scan the chisq function to find the rough location of the global minimum to seed MINUIT
84
85
  * (otherwise it gets stuck in local minima).