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 19 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 93 of file LKFMinuit.cxx.
double LKFMinuit::distance2err | ( | double | x, |
double | y, | ||
double | z, | ||
double | ex, | ||
double | ey, | ||
double | ez, | ||
double * | p | ||
) |
Definition at line 105 of file LKFMinuit.cxx.
int LKFMinuit::DoFit | ( | TGraph2DErrors * | gr, |
double | pStart[] | ||
) |
Definition at line 28 of file LKFMinuit.cxx.
Referenced by CbmTofTrackletTools::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(), and CbmTofTrackFinderNN::Line3Dfit().
|
inline |
Definition at line 37 of file LKFMinuit.h.
References fparFit.
Referenced by CbmTofTrackletTools::Line3DFit(), and CbmTofTrackFinderNN::Line3Dfit().
int LKFMinuit::Initialize | ( | ) |
Definition at line 16 of file LKFMinuit.cxx.
References minuitFunction().
Referenced by CbmTofTrackFinderNN::Init().
|
inlinestatic |
Definition at line 21 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 83 of file LKFMinuit.cxx.
|
staticprivate |
Definition at line 179 of file LKFMinuit.cxx.
References LKF_obj, and SumDistance2().
Referenced by Initialize().
|
private |
Definition at line 66 of file LKFMinuit.cxx.
double LKFMinuit::SumDistance2 | ( | double | par[] | ) |
Definition at line 144 of file LKFMinuit.cxx.
References d, first, gr, i, sqrt(), x, and y.
Referenced by minuitFunction().
|
private |
Definition at line 47 of file LKFMinuit.h.
Referenced by GetChi2().
|
private |
Definition at line 48 of file LKFMinuit.h.
Referenced by GetChi2DoF().
|
staticprivate |
Definition at line 44 of file LKFMinuit.h.
|
staticprivate |
Definition at line 42 of file LKFMinuit.h.
Referenced by Instance(), and LKFMinuit().
|
staticprivate |
Definition at line 45 of file LKFMinuit.h.
|
private |
Definition at line 46 of file LKFMinuit.h.
Referenced by GetParFit().