15#ifndef ROO_MINIMIZER_FCN
16#define ROO_MINIMIZER_FCN
57 double DoEval(
const double *
x)
const override;
Fitter class, entry point for performing all type of fits.
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 *)...
unsigned int getNDim() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooMinimizerFcn is an interface to the ROOT::Math::IBaseFunctionMultiDim, a function that ROOT's mini...
std::string getFunctionName() const override
RooMinimizer sometimes needs the name of the minimized function. Implement this in the derived class.
~RooMinimizerFcn() override
unsigned int NDim() const override
Retrieve the dimension of the function.
void setOffsetting(bool flag) override
Enable or disable offsetting on the function to be minimized, which enhances numerical precision.
ROOT::Math::IBaseFunctionMultiDim * Clone() const override
Clone a function.
void setOptimizeConstOnFunction(RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt) override
This function must be overridden in the derived class to pass on constant term optimization configura...
double DoEval(const double *x) const override
Evaluate function given the parameters in x.
std::string getFunctionTitle() const override
RooMinimizer sometimes needs the title of the minimized function. Implement this in the derived class...
bool fit(ROOT::Fit::Fitter &fitter) const override
ROOT::Math::IMultiGenFunction * getMultiGenFcn() override
RooMinimizer is a wrapper class around ROOT::Fit:Fitter that provides a seamless interface between th...