|
ROOT
Reference Guide |
|
Go to the documentation of this file.
32 TNamed(
"TFitResult",
"TFitResult"),
62 Warning(
"GetCovarianceMatrix",
"covariance matrix is not available");
66 ROOT::Fit::FitResult::GetCovarianceMatrix<TMatrixDSym>(mat);
80 Warning(
"GetCorrelationMatrix",
"correlation matrix is not available");
84 ROOT::Fit::FitResult::GetCorrelationMatrix<TMatrixDSym>(mat);
98 unsigned int npoints =
gr->
GetN();
104 if ((
int)npoints < gr->GetN())
124 unsigned int npoints =
gr->
GetN();
130 if ((
int)npoints < gr->GetN())
139 std::string cling::printValue(
const TFitResult* val)
141 std::stringstream outs;
142 val->ROOT::Fit::FitResult::Print(outs,
false );
Class to Wrap a ROOT Function class (like TF1) in a IParamMultiFunction interface of multi-dimensions...
void Print(std::ostream &os, bool covmat=false) const
print the result and optionaly covariance matrix and correlations
TMatrixDSym GetCovarianceMatrix() const
Return the covariance matrix from fit.
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
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.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
std::shared_ptr< IModelFunction > ModelFunction()
Return pointer non const pointer to model (fit) function with fitted parameter values.
TMatrixDSym GetCorrelationMatrix() const
Return the correlation matrix from fit.
unsigned int NPar() const
total number of parameters (abbreviation)
void ToUpper()
Change string to upper case.
int CovMatrixStatus() const
covariance matrix status code using Minuit convention : =0 not calculated, =1 approximated,...
void SetAndCopyFunction(const TF1 *f=0)
method to set a new function pointer and copy it inside.
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.
The TNamed class is the base class for all named ROOT classes.
class containg the result of the fit and all the related information (fitted parameter values,...
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...
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Print(Option_t *option="") const
Print result of the fit, by default chi2, parameter values and errors.
virtual void Set(Int_t n)
Set number of points in the graph Existing coordinates are preserved New coordinates above fNpoints a...
A TGraph is an object made of two arrays X and Y with npoints each.
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...
TMatrixTSym< Double_t > TMatrixDSym
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...