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 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 TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
void Clear(Option_t *=0)
reset the fitter environment
std::vector< Double_t > fParameters
Mother of all ROOT objects.
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.