|
| Fitter () |
| Default constructor. More...
|
|
| Fitter (const std::shared_ptr< FitResult > &result) |
| Constructor from a result. More...
|
|
| ~Fitter () |
| Destructor. More...
|
|
bool | ApplyWeightCorrection (const ROOT::Math::IMultiGenFunction &loglw2, bool minimizeW2L=false) |
| apply correction in the error matrix for the weights for likelihood fits This method can be called only after a fit. More...
|
|
bool | CalculateHessErrors () |
| perform an error analysis on the result using the Hessian Errors are obtaied from the inverse of the Hessian matrix To be called only after fitting and when a minimizer supporting the Hessian calculations is used otherwise an error (false) is returned. More...
|
|
bool | CalculateMinosErrors () |
| perform an error analysis on the result using MINOS To be called only after fitting and when a minimizer supporting MINOS is used otherwise an error (false) is returned. More...
|
|
FitConfig & | Config () |
| access to the configuration (non const method) More...
|
|
const FitConfig & | Config () const |
| access to the fit configuration (const method) More...
|
|
bool | EvalFCN () |
| Perform a simple FCN evaluation. More...
|
|
bool | Fit (const BinData &data, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
| Fit a binned data set using a least square fit (default method) More...
|
|
template<class Data , class Function , class cond = typename std::enable_if<!(std::is_same<Function, ROOT::Fit::ExecutionPolicy>::value || std::is_same<Function, int>::value), Function>::type> |
bool | Fit (const Data &data, const Function &func, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
| fit a data set using any generic model function If data set is binned a least square fit is performed If data set is unbinned a maximum likelihood fit (not extended) is done Pre-requisite on the function: it must implement the 1D or multidimensional parametric function interface More...
|
|
bool | Fit (const std::shared_ptr< BinData > &data, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
|
bool | Fit (const UnBinData &data, bool extended=false, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
| fit an unbinned data set using loglikelihood method More...
|
|
bool | FitFCN () |
| Perform a fit with the previously set FCN function. More...
|
|
bool | FitFCN (const ROOT::Math::FitMethodFunction &fcn, const double *params=0) |
| Fit using a FitMethodFunction interface. More...
|
|
bool | FitFCN (const ROOT::Math::FitMethodGradFunction &fcn, const double *params=0) |
| Fit using a FitMethodGradFunction interface. More...
|
|
bool | FitFCN (const ROOT::Math::IMultiGenFunction &fcn, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
| Fit using the given FCN function represented by a multi-dimensional function interface (ROOT::Math::IMultiGenFunction). More...
|
|
bool | FitFCN (const ROOT::Math::IMultiGradFunction &fcn, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
| Fit using the given FCN function representing a multi-dimensional gradient function interface (ROOT::Math::IMultiGradFunction). More...
|
|
bool | FitFCN (MinuitFCN_t fcn, int npar=0, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
|
template<class Function > |
bool | FitFCN (unsigned int npar, Function &fcn, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
| Fit using the a generic FCN function as a C++ callable object implementing double () (const double *) Note that the function dimension (i.e. More...
|
|
ROOT::Math::IMultiGenFunction * | GetFCN () const |
| return pointer to last used objective function (is NULL in case fit is not yet done) This pointer will be valid as far as the fitter class has not been deleted. More...
|
|
ROOT::Math::Minimizer * | GetMinimizer () const |
| return pointer to last used minimizer (is NULL in case fit is not yet done) This pointer is guranteed to be valid as far as the fitter class is valid and a new fit is not redone. More...
|
|
bool | IsBinFit () const |
| query if fit is binned. More...
|
|
bool | LeastSquareFit (const BinData &data) |
| Fit a binned data set using a least square fit. More...
|
|
bool | LikelihoodFit (const BinData &data, bool extended=true, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
| Binned Likelihood fit. More...
|
|
template<class Data , class Function > |
bool | LikelihoodFit (const Data &data, const Function &func, bool extended) |
| fit a data set using any generic model function Pre-requisite on the function: More...
|
|
bool | LikelihoodFit (const std::shared_ptr< BinData > &data, bool extended=true, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
|
bool | LikelihoodFit (const std::shared_ptr< UnBinData > &data, bool extended=false, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
|
bool | LikelihoodFit (const UnBinData &data, bool extended=false, const ROOT::Fit::ExecutionPolicy &executionPolicy=ROOT::Fit::ExecutionPolicy::kSerial) |
| Unbinned Likelihood fit. More...
|
|
bool | LinearFit (const BinData &data) |
| do a linear fit on a set of bin-data More...
|
|
bool | LinearFit (const std::shared_ptr< BinData > &data) |
|
const FitResult & | Result () const |
| get fit result More...
|
|
bool | SetFCN (const ROOT::Math::FitMethodFunction &fcn, const double *params=0) |
| Set the objective function (FCN) using a FitMethodFunction interface. More...
|
|
bool | SetFCN (const ROOT::Math::FitMethodGradFunction &fcn, const double *params=0) |
| Set the objective function (FCN) using a FitMethodGradFunction interface. More...
|
|
bool | SetFCN (const ROOT::Math::IMultiGenFunction &fcn, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
| Set the FCN function represented by a multi-dimensional function interface (ROOT::Math::IMultiGenFunction) and optionally the initial parameters See also note above for the initial parameters for FitFCN. More...
|
|
bool | SetFCN (const ROOT::Math::IMultiGradFunction &fcn, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
| Set the FCN function represented by a multi-dimensional gradient function interface (ROOT::Math::IMultiGenFunction) and optionally the initial parameters See also note above for the initial parameters for FitFCN. More...
|
|
bool | SetFCN (MinuitFCN_t fcn, int npar=0, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
| set objective function using user provided FCN with Minuit-like interface If npar = 0 it is assumed that the parameters are specified in the parameter settings created before For the options same consideration as in the previous method More...
|
|
template<class Function > |
bool | SetFCN (unsigned int npar, Function &fcn, const double *params=0, unsigned int dataSize=0, bool chi2fit=false) |
| Set a generic FCN function as a C++ callable object implementing double () (const double *) Note that the function dimension (i.e. More...
|
|
void | SetFunction (const IGradModel1DFunction &func, bool useGradient=true) |
| Set the fitted function from 1D gradient parametric function interface. More...
|
|
void | SetFunction (const IGradModelFunction &func, bool useGradient=true) |
| Set the fitted function (model function) from a parametric gradient function interface. More...
|
|
void | SetFunction (const IModel1DFunction &func, bool useGradient=false) |
| Set the fitted function (model function) from a vectorized parametric function interface. More...
|
|
void | SetFunction (const IModelFunction &func, bool useGradient=false) |
| Set the fitted function (model function) from a parametric function interface. More...
|
|