![]() |
ATLAS Offline Software
|
A structure to hold linear fit statistics. More...
#include <Fit2D.h>
Public Member Functions | |
| LinStats () | |
| Constructor. | |
| void | clear () |
| Clear the statistics before a new fit. | |
| void | eval (double fX, double &fY, double &fYerr) const |
| Evaluate a point along the fitted line. | |
| std::string | toString () const |
| Get a string representation of the fit parameters. | |
Public Attributes | |
| int | n |
| Number of points. | |
| double | fIntercept |
| Intercept of the fit line. | |
| double | fSlope |
| Slope of the fit line. | |
| double | fCov [2][2] |
| The parameter covariance matrix. | |
| double | fChi2 |
| Chi-squared of the fit. | |
|
inline |
|
inline |
| void Muon::Fit2D::LinStats::eval | ( | double | fX, |
| double & | fY, | ||
| double & | fYerr ) const |
| std::string Muon::Fit2D::LinStats::toString | ( | ) | const |
Get a string representation of the fit parameters.
| double Muon::Fit2D::LinStats::fCov[2][2] |
| double Muon::Fit2D::LinStats::fIntercept |