32 Double_t value=( (par[0]*par[0])/(
x*
x)-1)/ ( par[1]+par[2]*
y-par[3]*
y*
y);
39 const Int_t nbins = 5;
45 for (i=0;i<nbins; i++) {
46 delta = (z[i]-func(
x[i],
y[i],par))/errorz[i];
91 static Double_t vstart[4] = {3, 1 , 0.1 , 0.01};
92 static Double_t step[4] = {0.1 , 0.1 , 0.01 , 0.001};
105 Int_t nvpar,nparx,icstat;
R__EXTERN TMinuit * gMinuit
Implementation in C++ of the Minuit package written by Fred James.
virtual void SetFCN(void(*fcn)(Int_t &, Double_t *, Double_t &f, Double_t *, Int_t))
To set the address of the minimization function.
virtual void mnexcm(const char *comand, Double_t *plist, Int_t llist, Int_t &ierflg)
Interprets a command and takes appropriate action.
virtual void mnstat(Double_t &fmin, Double_t &fedm, Double_t &errdef, Int_t &npari, Int_t &nparx, Int_t &istat)
Returns concerning the current status of the minimization.
virtual void mnparm(Int_t k, TString cnamj, Double_t uk, Double_t wk, Double_t a, Double_t b, Int_t &ierflg)
Implements one parameter definition.