#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
<div class="legacybox"><h2>Legacy Code</h2> TFitter is a legacy interface: there will be no bug fixes...
Int_t GetNumberTotalParameters() const override
return the total number of parameters (free + fixed)
~TFitter() override
Default destructor.
const char * GetParName(Int_t ipar) const override
return name of parameter ipar
void SetFCN(void(*fcn)(Int_t &, Double_t *, Double_t &f, Double_t *, Int_t)) override
Specify the address of the fitting algorithm.
void ReleaseParameter(Int_t ipar) override
Release parameter ipar.
Double_t * GetCovarianceMatrix() const override
return a pointer to the covariance matrix
TMinuit * GetMinuit() const
Double_t GetParError(Int_t ipar) const override
return error of parameter ipar
Bool_t IsFixed(Int_t ipar) const override
return kTRUE if parameter ipar is fixed, kFALSE otherwise)
Double_t GetSumLog(Int_t i) override
return Sum(log(i) i=0,n used by log likelihood fits
void Clear(Option_t *option="") override
reset the fitter environment
void PrintResults(Int_t level, Double_t amin) const override
Print fit results.
Double_t GetParameter(Int_t ipar) const override
return current value of parameter ipar
void GetConfidenceIntervals(Int_t n, Int_t ndim, const Double_t *x, Double_t *ci, Double_t cl=0.95) override
Computes point-by-point confidence intervals for the fitted function.
Int_t GetErrors(Int_t ipar, Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &globcc) const override
return current errors for a parameter ipar : parameter number eplus : upper error eminus : lower erro...
Int_t ExecuteCommand(const char *command, Double_t *args, Int_t nargs) override
Execute a fitter command; command : command string args : list of nargs command arguments.
void SetFitMethod(const char *name) override
ret fit method (chisquare or log-likelihood)
Int_t GetStats(Double_t &amin, Double_t &edm, Double_t &errdef, Int_t &nvpar, Int_t &nparx) const override
return global fit parameters
Double_t Chisquare(Int_t npar, Double_t *params) const override
void FixParameter(Int_t ipar) override
Fix parameter ipar.
Double_t GetCovarianceMatrixElement(Int_t i, Int_t j) const override
return element i,j from the covariance matrix
TFitter & operator=(const TFitter &)
Int_t SetParameter(Int_t ipar, const char *parname, Double_t value, Double_t verr, Double_t vlow, Double_t vhigh) override
set initial values for a parameter
Int_t GetNumberFreeParameters() const override
return the number of free parameters
Mother of all ROOT objects.
Abstract Base Class for Fitting.