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