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 const MnUserParameters & Parameters() const
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
unsigned int ExtOfInt(unsigned int) const
class for the individual Minuit Parameter with Name and number; contains the input numbers for the mi...
determines the relative floating point arithmetic precision.
std::vector< double > Params() const
const MinuitParameter & Parameter(unsigned int i) const
Extension of the FCNBase for providing the analytical Gradient of the function.
const MnMachinePrecision & Precision() const
class holding the full result of the minimization; both internal and external (MnUserParameterState) ...
double Error(unsigned int) const
MnUserParameterState fState
double Int2ext(unsigned int, double) const
virtual const FCNBase & Fcnbase() const
std::vector< double > Errors() const
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
double Ext2int(unsigned int, double) const
const MnStrategy & Strategy() const
const MnUserCovariance & Covariance() const
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...
double Value(unsigned int) const
const MnMachinePrecision & Precision() 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...
const MnUserCovariance & Covariance() const
MnApplication(const FCNBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
constructor from non-gradient functions
void SetError(unsigned int, double)
const MnUserParameters & Parameters() const
unsigned int NumOfCalls() const
void Release(unsigned int)
void SetPrecision(double)
void SetValue(unsigned int, double)
const char * Name(unsigned int) const
unsigned int IntOfExt(unsigned int) const
application interface class for minimizers (migrad, simplex, Minimize, Scan) User normally instantiat...
const std::vector< ROOT::Minuit2::MinuitParameter > & MinuitParameters() const
virtual FunctionMinimum operator()(unsigned int maxfcn=0, double tolerance=0.1)
Minimize the function.
const MnUserParameterState & State() const
virtual const ModularFunctionMinimizer & Minimizer() const =0
unsigned int Index(const char *) 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...
unsigned int VariableParameters() const
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide in...