CbmRoot
|
#include <LKFMinuit.h>
Public Member Functions | |
LKFMinuit () | |
int | DoFit (TGraph2DErrors *gr, double pStart[]) |
int | Initialize () |
double | SumDistance2 (double par[]) |
double | distance2 (double x, double y, double z, double *p) |
double | distance2err (double x, double y, double z, double ex, double ey, double ez, double *p) |
void | line (double t, double *p, double &x, double &y, double &z) |
double * | GetParFit () |
double | GetChi2 () |
double | GetChi2DoF () |
Static Public Member Functions | |
static LKFMinuit * | Instance () |
Private Member Functions | |
double | myFunction (double) |
Static Private Member Functions | |
static void | minuitFunction (int &nDim, double *gout, double &result, double par[], int flg) |
Private Attributes | |
double | fparFit [4] |
double | fChi2 |
double | fChi2DoF |
Static Private Attributes | |
static LKFMinuit * | fInstance = 0 |
static TGraph2DErrors * | fgr = 0 |
static TFitter * | fMyFit = 0 |
Definition at line 25 of file LKFMinuit.h.
LKFMinuit::LKFMinuit | ( | ) |
Definition at line 188 of file LKFMinuit.cxx.
double LKFMinuit::distance2 | ( | double | x, |
double | y, | ||
double | z, | ||
double * | p ) |
Definition at line 103 of file LKFMinuit.cxx.
double LKFMinuit::distance2err | ( | double | x, |
double | y, | ||
double | z, | ||
double | ex, | ||
double | ey, | ||
double | ez, | ||
double * | p ) |
int LKFMinuit::DoFit | ( | TGraph2DErrors * | gr, |
double | pStart[] ) |
Definition at line 36 of file LKFMinuit.cxx.
References fChi2, fChi2DoF, fgr, fMyFit, fparFit, and gr.
Referenced by CbmTofTrackletTools::Line3DFit(), CbmTofExtendTracks::Line3Dfit(), and CbmTofTrackFinderNN::Line3Dfit().
|
inline |
Definition at line 38 of file LKFMinuit.h.
References fChi2.
|
inline |
Definition at line 39 of file LKFMinuit.h.
References fChi2DoF.
Referenced by CbmTofTrackletTools::Line3DFit(), CbmTofExtendTracks::Line3Dfit(), and CbmTofTrackFinderNN::Line3Dfit().
|
inline |
Definition at line 37 of file LKFMinuit.h.
References fparFit.
Referenced by CbmTofTrackletTools::Line3DFit(), CbmTofExtendTracks::Line3Dfit(), and CbmTofTrackFinderNN::Line3Dfit().
int LKFMinuit::Initialize | ( | ) |
Definition at line 23 of file LKFMinuit.cxx.
References fMyFit, and minuitFunction().
Referenced by CbmTofExtendTracks::Init(), and CbmTofTrackFinderNN::Init().
|
inlinestatic |
Definition at line 27 of file LKFMinuit.h.
References fInstance.
Referenced by CbmTofTrackletTools::CbmTofTrackletTools().
void LKFMinuit::line | ( | double | t, |
double * | p, | ||
double & | x, | ||
double & | y, | ||
double & | z ) |
Definition at line 92 of file LKFMinuit.cxx.
|
staticprivate |
Definition at line 182 of file LKFMinuit.cxx.
References LKF_obj, and SumDistance2().
Referenced by Initialize().
|
private |
Definition at line 74 of file LKFMinuit.cxx.
double LKFMinuit::SumDistance2 | ( | double | par[] | ) |
Definition at line 150 of file LKFMinuit.cxx.
References distance2err(), fgr, first, gr, x, and y.
Referenced by minuitFunction().
|
private |
Definition at line 47 of file LKFMinuit.h.
|
private |
Definition at line 48 of file LKFMinuit.h.
Referenced by DoFit(), and GetChi2DoF().
|
staticprivate |
Definition at line 44 of file LKFMinuit.h.
Referenced by DoFit(), and SumDistance2().
|
staticprivate |
Definition at line 42 of file LKFMinuit.h.
Referenced by Instance(), and LKFMinuit().
|
staticprivate |
Definition at line 45 of file LKFMinuit.h.
Referenced by DoFit(), and Initialize().
|
private |
Definition at line 46 of file LKFMinuit.h.
Referenced by DoFit(), and GetParFit().