| 228 |
virtual bool ProvidesError() const { return true; } |
virtual bool ProvidesError() const { return true; } |
| 229 |
|
|
| 230 |
/// return errors at the minimum |
/// return errors at the minimum |
| 231 |
virtual const double * Errors() const { |
virtual const double * Errors() const { return &fErrors.front(); } |
| 232 |
static std::vector<double> err; |
// { |
| 233 |
err.resize(fDim); |
// static std::vector<double> err; |
| 234 |
return &err.front(); |
// err.resize(fDim); |
| 235 |
} |
// return &err.front(); |
| 236 |
|
// } |
| 237 |
|
|
| 238 |
/** return covariance matrices elements |
/** return covariance matrices elements |
| 239 |
if the variable is fixed the matrix is zero |
if the variable is fixed the matrix is zero |
| 240 |
The ordering of the variables is the same as in errors |
The ordering of the variables is the same as in errors |
| 241 |
*/ |
*/ |
| 242 |
virtual double CovMatrix(unsigned int , unsigned int ) const { return 0; } |
virtual double CovMatrix(unsigned int , unsigned int ) const; |
| 243 |
|
|
| 244 |
/// minos error for variable i, return false if Minos failed |
/// minos error for variable i, return false if Minos failed |
| 245 |
virtual bool GetMinosError(unsigned int , double & /* errLow */ , double & /* errUp */ ) { return false; } |
virtual bool GetMinosError(unsigned int , double & /* errLow */ , double & /* errUp */ ) { return false; } |
| 262 |
|
|
| 263 |
double fMinVal; // minimum function value |
double fMinVal; // minimum function value |
| 264 |
double fLSTolerance; // Line Search Tolerance |
double fLSTolerance; // Line Search Tolerance |
| 265 |
mutable std::vector<double> fValues; |
std::vector<double> fValues; |
| 266 |
//mutable std::vector<double> fErrors; |
std::vector<double> fErrors; |
| 267 |
|
const double * fCovMatrix; // pointer to cov matrix (stored in fGSLMultiFit) |
| 268 |
std::vector<double> fSteps; |
std::vector<double> fSteps; |
| 269 |
std::vector<std::string> fNames; |
std::vector<std::string> fNames; |
| 270 |
std::vector<LSResidualFunc> fResiduals; //! transient Vector of the residual functions |
std::vector<LSResidualFunc> fResiduals; //! transient Vector of the residual functions |