10#ifndef ROOT_Minuit2_MnApplication
11#define ROOT_Minuit2_MnApplication
24class MnMachinePrecision;
25class ModularFunctionMinimizer;
88 std::vector<double>
Params()
const;
89 std::vector<double>
Errors()
const;
95 void Add(
const char*
Name,
double val,
double err);
97 void Add(
const char*
Name,
double val,
double err,
double ,
double);
99 void Add(
const char*,
double);
102 void Fix(
unsigned int);
104 void SetValue(
unsigned int,
double);
105 void SetError(
unsigned int,
double);
106 void SetLimits(
unsigned int,
double,
double);
109 double Value(
unsigned int)
const;
110 double Error(
unsigned int)
const;
113 void Fix(
const char*);
117 void SetLimits(
const char*,
double,
double);
121 double Value(
const char*)
const;
122 double Error(
const char*)
const;
125 unsigned int Index(
const char*)
const;
127 const char*
Name(
unsigned int)
const;
130 double Int2ext(
unsigned int,
double)
const;
131 double Ext2int(
unsigned int,
double)
const;
132 unsigned int IntOfExt(
unsigned int)
const;
133 unsigned int ExtOfInt(
unsigned int)
const;
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Extension of the FCNBase for providing the analytical Gradient of the function.
class holding the full result of the minimization; both internal and external (MnUserParameterState) ...
class for the individual Minuit Parameter with Name and number; contains the input numbers for the mi...
application interface class for minimizers (migrad, simplex, Minimize, Scan) User normally instantiat...
void SetError(unsigned int, double)
const MnUserParameters & Parameters() const
void SetPrecision(double)
unsigned int NumOfCalls() const
MnUserParameterState fState
double Int2ext(unsigned int, double) const
void Add(const char *Name, double val, double err)
std::vector< double > Errors() const
void RemoveLimits(unsigned int)
const MnStrategy & Strategy() const
double Value(unsigned int) const
const MnUserParameterState & State() const
const std::vector< ROOT::Minuit2::MinuitParameter > & MinuitParameters() const
virtual ModularFunctionMinimizer & Minimizer()=0
unsigned int ExtOfInt(unsigned int) const
unsigned int Index(const char *) const
unsigned int IntOfExt(unsigned int) const
virtual FunctionMinimum operator()(unsigned int maxfcn=0, double tolerance=0.1)
Minimize the function.
virtual const FCNBase & Fcnbase() const
double Ext2int(unsigned int, double) const
const MinuitParameter & Parameter(unsigned int i) const
const MnMachinePrecision & Precision() const
virtual const ModularFunctionMinimizer & Minimizer() const =0
void Release(unsigned int)
const MnUserCovariance & Covariance() const
MnApplication(const FCNBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
constructor from non-gradient functions
const char * Name(unsigned int) const
std::vector< double > Params() const
void SetLimits(unsigned int, double, double)
double Error(unsigned int) const
void SetValue(unsigned int, double)
unsigned int VariableParameters() const
determines the relative floating point arithmetic precision.
API class for defining three levels of strategies: low (0), medium (1), high (>=2); acts on: Migrad (...
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide in...
class which holds the external user and/or internal Minuit representation of the parameters and error...
const MnMachinePrecision & Precision() const
const MnUserParameters & Parameters() const
const MnUserCovariance & Covariance() const
API class for the user interaction with the parameters; serves as input to the minimizer as well as o...
Base common class providing the API for all the minimizer Various Minimize methods are provided varyi...
Namespace for new ROOT classes and functions.