12#ifndef ROOT_TFitResult
13#define ROOT_TFitResult
69 bool Contour(
unsigned int ipar,
unsigned int jpar,
TGraph *
gr ,
double confLevel = 0.683);
74 double Error(
unsigned int i)
const {
#define ClassDef(name, id)
class containg the result of the fit and all the related information (fitted parameter values,...
double ParError(unsigned int i) const
parameter error by index
bool Scan(unsigned int ipar, unsigned int &npoints, double *pntsx, double *pntsy, double xmin=0, double xmax=0)
scan likelihood value of parameter and fill the given graph.
FitResult()
Default constructor for an empty (non valid) fit result.
bool Contour(unsigned int ipar, unsigned int jpar, unsigned int &npoints, double *pntsx, double *pntsy, double confLevel=0.683)
create contour of two parameters around the minimum pass as option confidence level: default is a val...
Extends the ROOT::Fit::Result class with a TNamed inheritance providing easy possibility for I/O.
double Error(unsigned int i) const
TMatrixDSym GetCorrelationMatrix() const
Return the correlation matrix from fit.
bool Contour(unsigned int ipar, unsigned int jpar, TGraph *gr, double confLevel=0.683)
Create a 2D contour around the minimum for the parameter ipar and jpar if a minimum does not exist or...
TMatrixDSym GetCovarianceMatrix() const
Return the covariance matrix from fit.
TFitResult(const char *name, const char *title)
bool Scan(unsigned int ipar, TGraph *gr, double xmin=0, double xmax=0)
Scan parameter ipar between value of xmin and xmax A graph must be given which will be on return fill...
virtual void Print(Option_t *option="") const
Print result of the fit, by default chi2, parameter values and errors.
A TGraph is an object made of two arrays X and Y with npoints each.
The TNamed class is the base class for all named ROOT classes.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...