30 TNamed(
"TFitResult",
"TFitResult"),
60 Warning(
"GetCovarianceMatrix",
"covariance matrix is not available");
64 ROOT::Fit::FitResult::GetCovarianceMatrix<TMatrixDSym>(mat);
78 Warning(
"GetCorrelationMatrix",
"correlation matrix is not available");
82 ROOT::Fit::FitResult::GetCorrelationMatrix<TMatrixDSym>(mat);
90 std::stringstream outs;
91 val->ROOT::Fit::FitResult::Print(outs,
false );
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
TMatrixDSym GetCovarianceMatrix() const
Return the covariance matrix from fit.
Class to Wrap a ROOT Function class (like TF1) in a IParamMultiFunction interface of multi-dimensions...
unsigned int NPar() const
total number of parameters (abbreviation)
void ToUpper()
Change string to upper case.
TMatrixDSym GetCorrelationMatrix() const
Return the correlation matrix from fit.
void SetAndCopyFunction(const TF1 *f=0)
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...
The TNamed class is the base class for all named ROOT classes.
virtual void Print(Option_t *option="") const
Print result of the fit, by default chi2, parameter values and errors.
std::shared_ptr< IModelFunction > ModelFunction()
Return pointer non const pointer to model (fit) function with fitted parameter values.
std::string printValue(const TDatime *val)
Print a TDatime at the prompt.
int CovMatrixStatus() const
covariance matrix status code using Minuit convention : =0 not calculated, =1 approximated, =2 made pos def , =3 accurate
class containg the result of the fit and all the related information (fitted parameter values...
TFitResultPtr Fit(FitObject *h1, TF1 *f1, Foption_t &option, const ROOT::Math::MinimizerOptions &moption, const char *goption, ROOT::Fit::DataRange &range)
TMatrixTSym< Double_t > TMatrixDSym
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
void Print(std::ostream &os, bool covmat=false) const
print the result and optionaly covariance matrix and correlations
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.