Fitter class, entry point for performing all type of fits. Fits are performed using the generic ROOT::Fit::Fitter::Fit method. The inputs are the data points and a model function (using a ROOT::Math::IParamFunction) The result of the fit is returned and kept internally in the ROOT::Fit::FitResult class. The configuration of the fit (parameters, options, etc...) are specified in the ROOT::Math::FitConfig class. @ingroup FitMain
~Fitter() | |
const ROOT::Fit::FitConfig& | Config() const |
ROOT::Fit::FitConfig& | Config() |
bool | Fit(const ROOT::Fit::BinData& data) |
bool | Fit(const ROOT::Fit::UnBinData& data) |
bool | Fit(const ROOT::Fit::BinData& data, const ROOT::Math::IParametricFunctionMultiDim& func) |
bool | Fit(const ROOT::Fit::UnBinData& data, const ROOT::Math::IParametricFunctionMultiDim& func) |
bool | FitFCN(const ROOT::Math::IMultiGenFunction& fcn, const double* params, unsigned int dataSize) |
bool | FitFCN(const ROOT::Math::IMultiGradFunction& fcn, const double* params, unsigned int dataSize) |
ROOT::Fit::Fitter | Fitter() |
bool | LikelihoodFit(const ROOT::Fit::BinData& data) |
bool | LikelihoodFit(const ROOT::Fit::UnBinData& data) |
bool | LikelihoodFit(const ROOT::Fit::BinData& data, const ROOT::Math::IParametricFunctionMultiDim& func) |
bool | LikelihoodFit(const ROOT::Fit::UnBinData& data, const ROOT::Math::IParametricFunctionMultiDim& func) |
bool | LinearFit(const ROOT::Fit::BinData& data) |
const ROOT::Fit::FitResult& | Result() const |
void | SetFunction(const ROOT::Fit::Fitter::IModelFunction& func) |
void | SetFunction(const ROOT::Fit::Fitter::IModel1DFunction& func) |
void | SetFunction(const ROOT::Fit::Fitter::IGradModelFunction& func) |
void | SetFunction(const ROOT::Fit::Fitter::IGradModel1DFunction& func) |
bool | DoLeastSquareFit(const ROOT::Fit::BinData& data) |
bool | DoLikelihoodFit(const ROOT::Fit::BinData& data) |
bool | DoLikelihoodFit(const ROOT::Fit::UnBinData& data) |
bool | DoLinearFit(const ROOT::Fit::BinData& data) |
ROOT::Fit::FitConfig | fConfig | fitter configuration (options and parameter settings) |
ROOT::Fit::Fitter::IModelFunction* | fFunc | copy of the fitted function containing on output the fit result |
ROOT::Fit::FitResult | fResult | object containing the result of the fit |
bool | fUseGradient | flag to indicate if using gradient or not |
usually copying is non trivial, so we make this unaccessible Copy constructor
fit a data set using any generic model function Pre-requisite on the function:
fit a binned data set (default method: use chi2) To be implemented option to do likelihood bin fit
fit a data set using any generic model function Pre-requisite on the function:
fit using the given FCN function. Give also initial parameter values and data size to get Ndf
do a linear fit on a set of bin-data
{ return DoLinearFit(data); }
Set the fitted function (model function) from a parametric function interface