BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
API class for Minos Error analysis (asymmetric errors); minimization has to be done before and Minimum must be valid; possibility to ask only for one side of the Minos Error;
Public Member Functions | |
MnMinos (const FCNBase &fcn, const FunctionMinimum &min, const MnStrategy &stra) | |
construct from FCN + Minimum + strategy More... | |
MnMinos (const FCNBase &fcn, const FunctionMinimum &min, unsigned int stra=1) | |
construct from FCN + Minimum + strategy More... | |
~MnMinos () | |
MnCross | Loval (unsigned int, unsigned int maxcalls=0, double toler=0.1) const |
double | Lower (unsigned int, unsigned int maxcalls=0, double toler=0.1) const |
calculate one side (negative or positive Error) of the Parameter give as input (optionally) maxcalls and tolerance More... | |
MinosError | Minos (unsigned int, unsigned int maxcalls=0, double toler=0.1) const |
ask for MinosError (Lower + Upper) can be printed via std::cout More... | |
std::pair< double, double > | operator() (unsigned int, unsigned int maxcalls=0, double toler=0.1) const |
returns the negative (pair.first) and the positive (pair.second) Minos Error of the Parameter More... | |
double | Upper (unsigned int, unsigned int maxcalls=0, double toler=0.1) const |
MnCross | Upval (unsigned int, unsigned int maxcalls=0, double toler=0.1) const |
Protected Member Functions | |
MnCross | FindCrossValue (int dir, unsigned int, unsigned int maxcalls, double toler) const |
internal method to get crossing value via MnFunctionCross More... | |
Private Attributes | |
const FCNBase & | fFCN |
const FunctionMinimum & | fMinimum |
MnStrategy | fStrategy |
ROOT::Minuit2::MnMinos::MnMinos | ( | const FCNBase & | fcn, |
const FunctionMinimum & | min, | ||
unsigned int | stra = 1 |
||
) |
construct from FCN + Minimum + strategy
ROOT::Minuit2::MnMinos::MnMinos | ( | const FCNBase & | fcn, |
const FunctionMinimum & | min, | ||
const MnStrategy & | stra | ||
) |
construct from FCN + Minimum + strategy
|
protected |
internal method to get crossing value via MnFunctionCross
MnCross ROOT::Minuit2::MnMinos::Loval | ( | unsigned int | , |
unsigned int | maxcalls = 0 , |
||
double | toler = 0.1 |
||
) | const |
double ROOT::Minuit2::MnMinos::Lower | ( | unsigned int | , |
unsigned int | maxcalls = 0 , |
||
double | toler = 0.1 |
||
) | const |
calculate one side (negative or positive Error) of the Parameter give as input (optionally) maxcalls and tolerance
MinosError ROOT::Minuit2::MnMinos::Minos | ( | unsigned int | , |
unsigned int | maxcalls = 0 , |
||
double | toler = 0.1 |
||
) | const |
ask for MinosError (Lower + Upper) can be printed via std::cout
std::pair<double,double> ROOT::Minuit2::MnMinos::operator() | ( | unsigned int | , |
unsigned int | maxcalls = 0 , |
||
double | toler = 0.1 |
||
) | const |
returns the negative (pair.first) and the positive (pair.second) Minos Error of the Parameter
double ROOT::Minuit2::MnMinos::Upper | ( | unsigned int | , |
unsigned int | maxcalls = 0 , |
||
double | toler = 0.1 |
||
) | const |
MnCross ROOT::Minuit2::MnMinos::Upval | ( | unsigned int | , |
unsigned int | maxcalls = 0 , |
||
double | toler = 0.1 |
||
) | const |
|
private |
|
private |