ROOT logo
ROOT » MATH » MATHCORE » ROOT::Math::MinimizerOptions

class ROOT::Math::MinimizerOptions

    Minimizer options

    @ingroup MultiMin

Function Members (Methods)

static doubleDefaultErrorDef()
static intDefaultMaxFunctionCalls()
static intDefaultMaxIterations()
static const string&DefaultMinimizerAlgo()
static const string&DefaultMinimizerType()
static doubleDefaultPrecision()
static intDefaultPrintLevel()
static intDefaultStrategy()
static doubleDefaultTolerance()
doubleErrorDef() const
unsigned intMaxFunctionCalls() const
unsigned intMaxIterations() const
const string&MinimizerAlgorithm() const
ROOT::Math::MinimizerOptionsMinimizerOptions(const ROOT::Math::MinimizerOptions&)
const string&MinimizerType() const
ROOT::Math::MinimizerOptions&operator=(const ROOT::Math::MinimizerOptions&)
doublePrecision() const
intPrintLevel() const
static voidSetDefaultErrorDef(double up)
static voidSetDefaultMaxFunctionCalls(int maxcall)
static voidSetDefaultMaxIterations(int maxiter)
static voidSetDefaultMinimizer(const char* type, const char* algo = 0)
static voidSetDefaultPrecision(double prec)
static voidSetDefaultPrintLevel(int level)
static voidSetDefaultStrategy(int strat)
static voidSetDefaultTolerance(double tol)
voidSetErrorDef(double err)
voidSetMaxFunctionCalls(unsigned int maxfcn)
voidSetMaxIterations(unsigned int maxiter)
voidSetMinimizerAlgorithm(const char* type)
voidSetMinimizerType(const char* type)
voidSetPrecision(double prec)
voidSetPrintLevel(int level)
voidSetStrategy(int stra)
voidSetTolerance(double tol)
intStrategy() const
doubleTolerance() const

Data Members

stringfAlgoTypeMinimizer algorithmic specification (Migrad, Minimize, ...)
doublefErrorDeferror definition (=1. for getting 1 sigma error for chi2 fits)
intfLeveldebug print level
intfMaxCallsmaximum number of function calls
intfMaxItermaximum number of iterations
stringfMinimTypeMinimizer type (Minuit, Minuit2, etc..
doublefPrecisionprecision of the objective funciton evaluation (value <=0 means left to default)
intfStrategyminimizer strategy (used by Minuit)
doublefToleranceminimize tolerance to reach solution

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void SetDefaultMinimizer(const char* type, const char* algo = 0)
 static methods for setting and retrieving the default options
void SetDefaultErrorDef(double up)
void SetDefaultTolerance(double tol)
void SetDefaultPrecision(double prec)
void SetDefaultMaxFunctionCalls(int maxcall)
void SetDefaultMaxIterations(int maxiter)
void SetDefaultStrategy(int strat)
void SetDefaultPrintLevel(int level)
const std::string & DefaultMinimizerType()
const std::string & DefaultMinimizerAlgo()
double DefaultErrorDef()
double DefaultTolerance()
double DefaultPrecision()
int DefaultMaxFunctionCalls()
int DefaultMaxIterations()
int DefaultStrategy()
int DefaultPrintLevel()
 constructor using the default options
int PrintLevel() const
 non-static methods for  retrivieng options 
 set print level
{ return fLevel; }
unsigned int MaxFunctionCalls() const
  max number of function calls
{ return fMaxCalls; }
unsigned int MaxIterations() const
 max iterations
{ return fMaxIter; }
int Strategy() const
{ return fStrategy; }
double Tolerance() const
 absolute tolerance
{ return fTolerance; }
double Precision() const
 precision in the objective funciton calculation (value <=0 means left to default)
{ return fPrecision; }
double ErrorDef() const
 error definition
{ return fErrorDef; }
const std::string & MinimizerType() const
 type of minimizer
{ return fMinimType; }
const std::string & MinimizerAlgorithm() const
 type of algorithm
{ return fAlgoType; }
void SetPrintLevel(int level)
 non-static methods for setting options 
 set print level
{ fLevel = level; }
void SetMaxFunctionCalls(unsigned int maxfcn)
set maximum of function calls
{ fMaxCalls = maxfcn; }
void SetMaxIterations(unsigned int maxiter)
 set maximum iterations (one iteration can have many function calls)
{ fMaxIter = maxiter; }
void SetTolerance(double tol)
 set the tolerance
{ fTolerance = tol; }
void SetPrecision(double prec)
 set the precision
{ fPrecision = prec; }
void SetStrategy(int stra)
 set the strategy
{ fStrategy = stra; }
void SetErrorDef(double err)
 set error def
{ fErrorDef = err; }
void SetMinimizerType(const char* type)
 set minimizer type
{ fMinimType = type; }
void SetMinimizerAlgorithm(const char* type)
 set minimizer algorithm
{ fAlgoType = type; }