40 fFitterTarget( target ),
43 for (
Int_t i=0; i< maxpar; i++ ) {
44 fParameters.push_back(0.0);
67 mnexcm(command,args,nargs,ierr);
93 mnstat(amin,edm,errdef,nvpar,nparx,ierr);
108 mnerrs(ipar, eplus,eminus,eparab,globcc);
125 mnparm(ipar,parname,value,verr,vlow,vhigh,ierr);
Int_t GetStats(Double_t &amin, Double_t &edm, Double_t &errdef, Int_t &nvpar, Int_t &nparx)
return global fit parameters
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 Double_t EstimatorFunction(std::vector< Double_t > ¶meters)=0
Int_t SetParameter(Int_t ipar, const char *parname, Double_t value, Double_t verr, Double_t vlow, Double_t vhigh)
set initial values for a parameter
Implementation in C++ of the Minuit package written by Fred James.
Int_t GetErrors(Int_t ipar, Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &globcc)
return current errors for a parameter
IFitterTarget & fFitterTarget
Int_t Eval(Int_t, Double_t *, Double_t &, Double_t *, Int_t)
std::vector<Double_t> parameters( npar );
TObject * Clone(char const *) const
produces a clone of this MinuitWrapper
virtual void mnrn15(Double_t &val, Int_t &inseed)
This is a super-portable random number generator.
void Clear(Option_t *=0)
reset the fitter environment
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.
virtual void mnerrs(Int_t number, Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &gcc)
Utility routine to get MINOS errors.
std::vector< Double_t > fParameters
virtual void mnexcm(const char *comand, Double_t *plist, Int_t llist, Int_t &ierflg)
Interprets a command and takes appropriate action.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
Mother of all ROOT objects.
Abstract ClassifierFactory template that handles arbitrary types.
Interface for a fitter 'target'.
Int_t ExecuteCommand(const char *command, Double_t *args, Int_t nargs)
Execute a fitter command; command : command string args : list of nargs command arguments.