| 36 |
fMaxCalls(0), // 0 means leave to the minimizer to decide |
fMaxCalls(0), // 0 means leave to the minimizer to decide |
| 37 |
fMaxIter(0), |
fMaxIter(0), |
| 38 |
fTol(0.001), |
fTol(0.001), |
| 39 |
fStrategy(1), |
fErrorDef(1.), |
| 40 |
fParabErrors(false), // ensure that in any case correct parabolic errors are estimated |
fStrategy(1) |
|
fMinosErrors(false) // do full Minos error analysis for all parameters |
|
| 41 |
{} |
{} |
| 42 |
|
|
| 43 |
/** |
/** |
| 59 |
/// absolute tolerance |
/// absolute tolerance |
| 60 |
double Tolerance() const { return fTol; } |
double Tolerance() const { return fTol; } |
| 61 |
|
|
| 62 |
|
/// error definition |
| 63 |
|
double ErrorDef() const { return fErrorDef; } |
| 64 |
|
|
| 65 |
/// strategy |
/// strategy |
| 66 |
int Strategy() const { return fStrategy; } |
int Strategy() const { return fStrategy; } |
| 67 |
|
|
|
///do analysis for parabolic errors |
|
|
bool ParabErrors() const { return fParabErrors; } |
|
|
|
|
|
///do minos errros analysis |
|
|
bool MinosErrors() const { return fMinosErrors; } |
|
|
|
|
| 68 |
/// set print level |
/// set print level |
| 69 |
void SetPrintLevel(int level) { fDebug = level; } |
void SetPrintLevel(int level) { fDebug = level; } |
| 70 |
|
|
| 80 |
/// set the strategy |
/// set the strategy |
| 81 |
void SetStrategy(int stra) { fStrategy = stra; } |
void SetStrategy(int stra) { fStrategy = stra; } |
| 82 |
|
|
| 83 |
///set parabolic erros |
/// set error def |
| 84 |
void SetParabErrors(bool on) { fParabErrors = on; } |
void SetErrorDef(double err) { fErrorDef = err; } |
|
|
|
|
///set Minos erros |
|
|
void SetMinosErrors(bool on) { fMinosErrors = on; } |
|
| 85 |
|
|
| 86 |
|
|
| 87 |
private: |
private: |
| 90 |
unsigned int fMaxCalls; |
unsigned int fMaxCalls; |
| 91 |
unsigned int fMaxIter; |
unsigned int fMaxIter; |
| 92 |
double fTol; |
double fTol; |
| 93 |
|
double fErrorDef; |
| 94 |
int fStrategy; |
int fStrategy; |
|
bool fParabErrors; |
|
|
bool fMinosErrors; |
|
| 95 |
|
|
| 96 |
|
|
| 97 |
}; |
}; |