24 #ifndef ROOT_TVirtualFitter
69 virtual void SetFCN(
void *fcn);
virtual void FitChisquareI(Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag)
Minimization function for H1s using a Chisquare method The "I"ntegral method is used for each point t...
TFitter & operator=(const TFitter &)
Implementation in C++ of the Minuit package written by F.
virtual void FitLikelihood(Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag)
Minimization function for H1s using a Likelihood method*-*-*-*-*-* Basically, it forms the likelihood...
TMinuit * GetMinuit() const
virtual void FitChisquare(Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag)
Minimization function for H1s using a Chisquare method Default method (function evaluated at center o...
virtual void PrintResults(Int_t level, Double_t amin) const
Print fit results.
virtual Double_t GetParError(Int_t ipar) const
return error of parameter ipar
virtual Int_t GetNumberTotalParameters() const
return the total number of parameters (free + fixed)
virtual 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.
virtual ~TFitter()
*-*-*-*-*-*-*-*-*-*-*default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ================== ...
virtual Double_t GetParameter(Int_t ipar) const
return current value of parameter ipar
#define ClassDef(name, id)
virtual void ReleaseParameter(Int_t ipar)
Release parameter ipar.
virtual Int_t GetErrors(Int_t ipar, Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &globcc) const
return current errors for a parameter ipar : parameter number eplus : upper error eminus : lower erro...
virtual Int_t GetStats(Double_t &amin, Double_t &edm, Double_t &errdef, Int_t &nvpar, Int_t &nparx) const
return global fit parameters amin : chisquare edm : estimated distance to minimum errdef nvpar : numb...
virtual Double_t Chisquare(Int_t npar, Double_t *params) const
return a chisquare equivalent
virtual Double_t GetCovarianceMatrixElement(Int_t i, Int_t j) const
return element i,j from the covariance matrix
virtual Bool_t IsFixed(Int_t ipar) const
return kTRUE if parameter ipar is fixed, kFALSE othersise)
virtual void SetFCN(void *fcn)
Specify the address of the fitting algorithm (from the interpreter)
virtual const char * GetParName(Int_t ipar) const
return name of parameter ipar
virtual void SetFitMethod(const char *name)
ret fit method (chisquare or loglikelihood)
virtual Int_t GetNumberFreeParameters() const
return the number of free parameters
virtual Double_t GetSumLog(Int_t i)
return Sum(log(i) i=0,n used by log likelihood fits
virtual Double_t * GetCovarianceMatrix() const
return a pointer to the covariance matrix
virtual void GetConfidenceIntervals(Int_t n, Int_t ndim, const Double_t *x, Double_t *ci, Double_t cl=0.95)
Computes point-by-point confidence intervals for the fitted function Parameters: n - number of points...
virtual void FixParameter(Int_t ipar)
Fix parameter ipar.
Abstract Base Class for Fitting.
Mother of all ROOT objects.
virtual void Clear(Option_t *option="")
reset the fitter environment
virtual void FitLikelihoodI(Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag)
Minimization function for H1s using a Likelihood method*-*-*-*-*-* Basically, it forms the likelihood...
virtual 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 ipar : parameter number parname : parameter name value : initial p...