14#include <TGraph2DErrors.h>
16#include <TPolyLine3D.h>
20#include <Math/Vector3D.h>
30 int DoFit(TGraph2DErrors*
gr,
double pStart[]);
33 double distance2(
double x,
double y,
double z,
double* p);
34 double distance2err(
double x,
double y,
double z,
double ex,
double ey,
double ez,
double* p);
35 void line(
double t,
double* p,
double&
x,
double&
y,
double& z);
44 static TGraph2DErrors*
fgr;
50 static void minuitFunction(
int& nDim,
double* gout,
double& result,
double par[],
int flg);
static TGraph2DErrors * fgr
double myFunction(double)
double distance2err(double x, double y, double z, double ex, double ey, double ez, double *p)
double distance2(double x, double y, double z, double *p)
static LKFMinuit * Instance()
int DoFit(TGraph2DErrors *gr, double pStart[])
void line(double t, double *p, double &x, double &y, double &z)
static void minuitFunction(int &nDim, double *gout, double &result, double par[], int flg)
double SumDistance2(double par[])
static LKFMinuit * fInstance