45 MATH_WARN_MSG(
"Minimizer::SetLimitedVariable",
"Setting of limited variable not implemented - set as unlimited");
54 MATH_ERROR_MSG(
"Minimizer::SetFixedVariable",
"Setting of fixed variable not implemented");
63 MATH_ERROR_MSG(
"Minimizer::SetVariableValue",
"Set of a variable value not implemented");
72 MATH_ERROR_MSG(
"Minimizer::SetVariableStepSize",
"Setting an existing variable step size not implemented");
80 MATH_ERROR_MSG(
"Minimizer::SetVariableLowerLimit",
"Setting an existing variable limit not implemented");
88 MATH_ERROR_MSG(
"Minimizer::SetVariableUpperLimit",
"Setting an existing variable limit not implemented");
97 MATH_ERROR_MSG(
"Minimizer::FixVariable",
"Fixing an existing variable not implemented");
104 MATH_ERROR_MSG(
"Minimizer::ReleaseVariable",
"Releasing an existing variable not implemented");
112 MATH_ERROR_MSG(
"Minimizer::IsFixedVariable",
"Querying an existing variable not implemented");
119 MATH_ERROR_MSG(
"Minimizer::GetVariableSettings",
"Querying an existing variable not implemented");
183 MATH_ERROR_MSG(
"Minimizer::GetMinosError",
"Minos Error not implemented");
236 return std::string();
243 MATH_ERROR_MSG(
"Minimizer::VariableIndex",
"Getting variable index from name not implemented");
#define MATH_ERROR_MSG(loc, str)
#define MATH_WARN_MSG(loc, str)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Class, describing value, limits and step size of the parameters Provides functionality also to set/re...
virtual bool SetLimitedVariable(unsigned int ivar, const std::string &name, double val, double step, double lower, double upper)
Set a new upper/lower limited variable (override if minimizer supports them) otherwise as default set...
virtual int VariableIndex(const std::string &name) const
Get index of variable given a variable given a name.
virtual bool GetCovMatrix(double *covMat) const
Fill the passed array with the covariance matrix elements if the variable is fixed or const the value...
virtual bool SetVariableStepSize(unsigned int ivar, double value)
Set the step size of an already existing variable.
virtual bool SetCovarianceDiag(std::span< const double > d2, unsigned int n)
Set initial second derivatives.
virtual bool GetVariableSettings(unsigned int ivar, ROOT::Fit::ParameterSettings &pars) const
Get variable settings in a variable object (like ROOT::Fit::ParamsSettings).
virtual double GlobalCC(unsigned int ivar) const
virtual bool SetVariableValue(unsigned int ivar, double value)
Set the value of an already existing variable.
virtual bool Scan(unsigned int ivar, unsigned int &nstep, double *x, double *y, double xmin=0, double xmax=0)
Scan function minimum for variable i.
virtual bool SetVariableUpperLimit(unsigned int ivar, double upper)
Set the upper-limit of an already existing variable.
virtual bool SetCovariance(std::span< const double > cov, unsigned int nrow)
Set initial covariance matrix.
virtual std::string VariableName(unsigned int ivar) const
Get name of variables (override if minimizer support storing of variable names).
virtual double CovMatrix(unsigned int ivar, unsigned int jvar) const
virtual bool GetHessianMatrix(double *hMat) const
Fill the passed array with the Hessian matrix elements The Hessian matrix is the matrix of the second...
virtual bool SetVariable(unsigned int ivar, const std::string &name, double val, double step)=0
Set a new free variable.
virtual bool FixVariable(unsigned int ivar)
Fix an existing variable.
virtual bool SetFixedVariable(unsigned int ivar, const std::string &name, double val)
Set a new fixed variable (override if minimizer supports them).
virtual bool GetMinosError(unsigned int ivar, double &errLow, double &errUp, int option=0)
Minos error for variable i, return false if Minos failed or not supported and the lower and upper err...
virtual bool SetVariableLowerLimit(unsigned int ivar, double lower)
Set the lower-limit of an already existing variable.
virtual bool IsFixedVariable(unsigned int ivar) const
Query if an existing variable is fixed (i.e.
virtual bool ReleaseVariable(unsigned int ivar)
Release an existing variable.
virtual bool Hesse()
Perform a full calculation of the Hessian matrix for error calculation.
virtual bool Contour(unsigned int ivar, unsigned int jvar, unsigned int &npoints, double *xi, double *xj)
Find the contour points (xi, xj) of the function for parameter ivar and jvar around the minimum.
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...