18 MATH_WARN_MSG(
"Minimizer::SetLimitedVariable",
"Setting of limited variable not implemented - set as unlimited");
27 MATH_ERROR_MSG(
"Minimizer::SetFixedVariable",
"Setting of fixed variable not implemented");
36 MATH_ERROR_MSG(
"Minimizer::SetVariableValue",
"Set of a variable value not implemented");
45 MATH_ERROR_MSG(
"Minimizer::SetVariableStepSize",
"Setting an existing variable step size not implemented");
53 MATH_ERROR_MSG(
"Minimizer::SetVariableLowerLimit",
"Setting an existing variable limit not implemented");
61 MATH_ERROR_MSG(
"Minimizer::SetVariableUpperLimit",
"Setting an existing variable limit not implemented");
70 MATH_ERROR_MSG(
"Minimizer::FixVariable",
"Fixing an existing variable not implemented");
77 MATH_ERROR_MSG(
"Minimizer::ReleaseVariable",
"Releasing an existing variable not implemented");
85 MATH_ERROR_MSG(
"Minimizer::IsFixedVariable",
"Querying an existing variable not implemented");
92 MATH_ERROR_MSG(
"Minimizer::GetVariableSettings",
"Querying an existing variable not implemented");
155 MATH_ERROR_MSG(
"Minimizer::GetMinosError",
"Minos Error not implemented");
192bool Minimizer::Contour(
unsigned int ivar,
unsigned int jvar,
unsigned int &npoints,
double *xi,
double *xj)
208 return std::string();
215 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 se...
virtual int VariableIndex(const std::string &name) const
get index of variable given a variable given a name return -1 if variable is not found
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 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
return global correlation coefficient for variable i This is a number between zero and one which give...
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 std::string VariableName(unsigned int ivar) const
get name of variables (override if minimizer support storing of variable names) return an empty strin...
virtual double CovMatrix(unsigned int ivar, unsigned int jvar) const
return covariance matrices element for variables ivar,jvar if the variable is fixed the return value ...
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 The c...
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...