class containg the result of the fit and all the related information (fitted parameter values, error, covariance matrix and minimizer result information) Contains a pointer also to the fitted (model) function, modified with the fit parameter values. When the fit is valid, it is constructed from a Minimizer and a model function pointer @ingroup FitMain
~FitResult() | |
double | Chi2() const |
double | Correlation(unsigned int i, unsigned int j) const |
double | CovMatrix(unsigned int i, unsigned int j) const |
double | Edm() const |
double | Error(unsigned int i) const |
const vector<double>& | Errors() const |
ROOT::Fit::FitResult | FitResult() |
ROOT::Fit::FitResult | FitResult(const ROOT::Fit::FitResult&) |
ROOT::Fit::FitResult | FitResult(ROOT::Math::Minimizer& min, const ROOT::Fit::FitConfig& fconfig, const ROOT::Fit::FitResult::IModelFunction& f, bool isValid, unsigned int sizeOfData = 0, const ROOT::Math::IMultiGenFunction* chi2func = 0, bool minosErr = false, unsigned int ncalls = 0) |
const ROOT::Fit::FitResult::IModelFunction* | FittedFunction() const |
int | Index(const string& name) const |
bool | IsValid() const |
double | LowerError(unsigned int i) const |
double | MinFcnValue() const |
const string& | MinimizerType() const |
unsigned int | NCalls() const |
unsigned int | Ndf() const |
bool | NormalizedErrors() |
void | NormalizeErrors() |
const vector<double>& | Parameters() const |
void | Print(ostream& os, bool covmat = false) const |
void | PrintCovMatrix(ostream& os) const |
double | Prob() const |
double | UpperError(unsigned int i) const |
double | Value(unsigned int i) const |
double | fChi2 | |
vector<double> | fCov | |
vector<double> | fCovMatrix | |
unsigned int | fDataSize | |
double | fEdm | |
vector<double> | fErrors | |
const ROOT::Fit::FitResult::IModelFunction* | fFitFunc | |
string | fMinimType | |
vector<std::pair<double,double> > | fMinosErrors | |
unsigned int | fNCalls | |
unsigned int | fNdf | |
bool | fNormalized | |
vector<double> | fParams | |
double | fVal | |
bool | fValid |
Construct from a Minimizer instance
Return value of the objective function (chi2 or likelihood) used in the fit
{ return fVal; }
fitting quantities Return pointer to model (fit) function with fitted parameter values.
{ return fFitFunc; }
/// Minos Errors const std::vector<std::pair<double, double> > MinosErrors() const; lower Minos error
{ return fMinosErrors[i].first; }
print the result and optionaly covariance matrix and correlations