Jpp
19.0.0
the software that should make you happy
|
Base class for result of ROOT Fit. More...
#include <JRootfit.hh>
Public Types | |
typedef JFIT_LOCAL::JTypedef_t < JModel_t >::parameter_type | parameter_type |
Data type of fit parameter. More... | |
Public Member Functions | |
const JFs_t & | getFunction () const |
Get function. More... | |
size_t | getNumberOfParameters () const |
Get number of parameters. More... | |
size_t | getNumberOfFreeParameters () const |
Get number of free parameters. More... | |
size_t | getN () const |
Get number of data points. More... | |
double | getChi2 () const |
Get chi2. More... | |
int | getNDF () const |
Get number of degrees of freedom. More... | |
double | getValue (size_t i) const |
Get value of parameter at given index. More... | |
double | getError (size_t i) const |
Get error of parameter at given index. More... | |
template<class JFunction_t , class T , class... Args> | |
result_type | operator() (const JFunction_t &fit, T __begin, T __end, Args...args) |
Multi-dimensional fit of multiple data sets. More... | |
Public Attributes | |
std::vector< parameter_type > | parameters |
fit parameters More... | |
int | numberOfIterations |
number of iterations More... | |
double | lambda |
control parameter More... | |
JModel_t | value |
value More... | |
JModel_t | error |
error More... | |
JMATH::JMatrixNS | V |
Hesse matrix. More... | |
Static Public Attributes | |
static int | MAXIMUM_ITERATIONS = 1000 |
maximal number of iterations More... | |
static double | EPSILON = 1.0e-3 |
maximal distance to minimum More... | |
static double | LAMBDA_MIN = 0.01 |
minimal value control parameter More... | |
static double | LAMBDA_MAX = 100.0 |
maximal value control parameter More... | |
static double | LAMBDA_UP = 10.0 |
multiplication factor control parameter More... | |
static double | LAMBDA_DOWN = 10.0 |
multiplication factor control parameter More... | |
static double | PIVOT = std::numeric_limits<double>::epsilon() |
minimal value diagonal element of Hesse matrix More... | |
static int | debug = 0 |
debug level (default is off). More... | |
Protected Member Functions | |
JRootfit_t () | |
Default constructor. More... | |
Protected Attributes | |
size_t | npx |
number of data points More... | |
double | chi2 |
chi2 More... | |
Base class for result of ROOT Fit.
Definition at line 828 of file JRootfit.hh.
|
inherited |
Data type of fit parameter.
Definition at line 95 of file JGandalf.hh.
|
inlineprotected |
|
inline |
|
inline |
Get number of parameters.
Definition at line 861 of file JRootfit.hh.
|
inline |
Get number of free parameters.
Definition at line 872 of file JRootfit.hh.
|
inline |
|
inline |
|
inline |
Get number of degrees of freedom.
Definition at line 905 of file JRootfit.hh.
|
inline |
Get value of parameter at given index.
i | index |
Definition at line 916 of file JRootfit.hh.
|
inline |
Get error of parameter at given index.
i | index |
Definition at line 927 of file JRootfit.hh.
|
inlineinherited |
Multi-dimensional fit of multiple data sets.
The fit function should return the chi2 as well as the partial derivatives for the current value of the model and a given data point.
fit | fit function |
__begin | begin of data |
__end | end of data |
args | optional data |
Definition at line 160 of file JGandalf.hh.
|
protected |
number of data points
Definition at line 841 of file JRootfit.hh.
|
protected |
chi2
Definition at line 842 of file JRootfit.hh.
|
staticinherited |
maximal number of iterations
maximal number of iterations.
Definition at line 335 of file JGandalf.hh.
|
staticinherited |
maximal distance to minimum
maximal distance to minimum.
Definition at line 336 of file JGandalf.hh.
|
staticinherited |
minimal value control parameter
Definition at line 337 of file JGandalf.hh.
|
staticinherited |
maximal value control parameter
Definition at line 338 of file JGandalf.hh.
|
staticinherited |
multiplication factor control parameter
Definition at line 339 of file JGandalf.hh.
|
staticinherited |
multiplication factor control parameter
Definition at line 340 of file JGandalf.hh.
|
staticinherited |
minimal value diagonal element of Hesse matrix
minimal value diagonal element of matrix
Definition at line 341 of file JGandalf.hh.
|
inherited |
fit parameters
Definition at line 343 of file JGandalf.hh.
|
inherited |
number of iterations
Definition at line 344 of file JGandalf.hh.
|
inherited |
control parameter
Definition at line 345 of file JGandalf.hh.
|
inherited |
value
Definition at line 346 of file JGandalf.hh.
|
inherited |
error
Definition at line 347 of file JGandalf.hh.
|
inherited |
Hesse matrix.
Definition at line 348 of file JGandalf.hh.
|
inherited |
Definition at line 491 of file JGandalf.hh.
|
staticinherited |
debug level (default is off).
Definition at line 45 of file JMessage.hh.