32 TNamed(
"TFitResult",
"TFitResult"),
62 Warning(
"GetCovarianceMatrix",
"covariance matrix is not available");
80 Warning(
"GetCorrelationMatrix",
"correlation matrix is not available");
98 unsigned int npoints =
gr->GetN();
104 if ((
int)npoints < gr->GetN())
124 unsigned int npoints =
gr->GetN();
130 if ((
int)npoints < gr->GetN())
139std::string cling::printValue(
const TFitResult* val)
141 std::stringstream outs;
142 val->ROOT::Fit::FitResult::Print(outs,
false );
TMatrixTSym< Double_t > TMatrixDSym
class containing the result of the fit and all the related information (fitted parameter values,...
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.
void Print(std::ostream &os, bool covmat=false) const
print the result and optionally covariance matrix and correlations
std::shared_ptr< IModelFunction > ModelFunction()
Return pointer non const pointer to model (fit) function with fitted parameter values.
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...
void GetCorrelationMatrix(Matrix &mat) const
fill a correlation matrix elements using a generic symmetric matrix class implementing operator(i,...
unsigned int NPar() const
total number of parameters (abbreviation)
int CovMatrixStatus() const
covariance matrix status code using Minuit convention : =0 not calculated, =1 approximated,...
void GetCovarianceMatrix(Matrix &mat) const
fill covariance matrix elements using a generic matrix class implementing operator(i,...
void SetAndCopyFunction(const TF1 *f=nullptr)
method to set a new function pointer and copy it inside.
Extends the ROOT::Fit::Result class with a TNamed inheritance providing easy possibility for I/O.
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.
void Print(Option_t *option="") const override
Print result of the fit, by default chi2, parameter values and errors.
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...
A TGraph is an object made of two arrays X and Y with npoints each.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
void ToUpper()
Change string to upper case.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
WrappedMultiTF1Templ< double > WrappedMultiTF1
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...