class ROOT::Math::MinimizerOptions


    Minimizer options

    @ingroup MultiMin

Function Members (Methods)

public:
~MinimizerOptions()
static doubleDefaultErrorDef()
static intDefaultMaxFunctionCalls()
static intDefaultMaxIterations()
static const string&DefaultMinimizerAlgo()
static const string&DefaultMinimizerType()
static intDefaultPrintLevel()
static intDefaultStrategy()
static doubleDefaultTolerance()
doubleErrorDef() const
unsigned intMaxFunctionCalls() const
unsigned intMaxIterations() const
const string&MinimizerAlgorithm() const
ROOT::Math::MinimizerOptionsMinimizerOptions()
ROOT::Math::MinimizerOptionsMinimizerOptions(const ROOT::Math::MinimizerOptions&)
const string&MinimizerType() const
ROOT::Math::MinimizerOptions&operator=(const ROOT::Math::MinimizerOptions&)
intPrintLevel() const
static voidSetDefaultErrorDef(double up)
static voidSetDefaultMaxFunctionCalls(int maxcall)
static voidSetDefaultMaxIterations(int maxiter)
static voidSetDefaultMinimizer(const char* type, const char* algo = 0)
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 string& type)
voidSetMinimizerType(const string& type)
voidSetPrintLevel(int level)
voidSetStrategy(int stra)
voidSetTolerance(double tol)
intStrategy() const
doubleTolerance() const

Data Members

private:
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..
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 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()
int DefaultMaxFunctionCalls()
int DefaultMaxIterations()
int DefaultStrategy()
int DefaultPrintLevel()
MinimizerOptions(const ROOT::Math::MinimizerOptions& )
 default options
{}
int PrintLevel()
 non-static methods for  retrivieng options 
 set print level
{ return fLevel; }
unsigned int MaxFunctionCalls()
  max number of function calls
{ return fMaxCalls; }
unsigned int MaxIterations()
 max iterations
{ return fMaxIter; }
int Strategy()
 strategy
{ return fStrategy; }
double Tolerance()
 absolute tolerance
{ return fTolerance; }
double ErrorDef()
 error definition
{ return fErrorDef; }
const std::string & MinimizerType()
 type of minimizer
{ return fMinimType; }
const std::string & MinimizerAlgorithm()
 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 SetStrategy(int stra)
 set the strategy
{ fStrategy = stra; }
void SetErrorDef(double err)
 set error def
{ fErrorDef = err; }
void SetMinimizerType(const string& type)
 set minimizer type
{ fMinimType = type; }
void SetMinimizerAlgorithm(const string& type)
 set minimizer algorithm
{ fAlgoType = type; }

Author: L. Moneta Fri Aug 15 2008
Last change: root/mathcore:$Id: MinimizerOptions.h 26508 2008-11-28 14:22:29Z moneta $
Last generated: 2008-11-28 16:56
Copyright (c) 2008 LCG ROOT Math Team, CERN/PH-SFT *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.