7 #ifndef AIDA_IFITRESULT_H
8 #define AIDA_IFITRESULT_H 1
20 class IFitParameterSettings;
55 virtual int ndf() = 0;
106 virtual const std::vector<double> &
errors()
const = 0;
114 virtual const std::vector<double> &
errorsPlus()
const = 0;
122 virtual const std::vector<double> &
errorsMinus()
const = 0;
Principal user-level function interface.
Definition: IFunction.h:35
virtual ~IFitResult()
Destructor.
Definition: IFitResult.h:39
virtual const std::vector< double > & fittedParameters() const =0
Get the array of the fitted parameter values (including fixed and constrained ones).
virtual double quality()=0
Quality of the fit.
virtual double fittedParameter(const std::string &name)=0
Get the value of a fitted parameter by name.
virtual const std::vector< double > & errors() const =0
Get the parabolic errors on the fitted parameters.
virtual const std::vector< double > & errorsPlus() const =0
Get the positive part of the asymmetric errors on the fitted parameters.
virtual std::string fitMethodName()=0
Fit method name as set in the fitter.
virtual int fitStatus()=0
Status of the fit. PENDING: what are the suggested values?
Definition: IFitParameterSettings.h:27
virtual std::vector< std::string > fittedParameterNames() const =0
Get the names of the fitted parameters (including fixed and constrained ones).
virtual bool isValid()=0
True if fit successful, otherwise false.
Definition: IFitResult.h:35
virtual std::string dataDescription()=0
Textual description of data - this is a hint for the user how to find the data in the tree if he want...
virtual std::string engineName()=0
Engine used to do fitting.
virtual IFitParameterSettings * fitParameterSettings(const std::string &name)=0
Access to applied parameter settings.
virtual IFunction & fittedFunction()=0
Fitted function. The parameters hold the results of the fit.
virtual std::vector< std::string > constraints()=0
Vector of constraints.
virtual const std::vector< double > & errorsMinus() const =0
Get the negative part of the asymmetric errors on the fitted parameters.
virtual double covMatrixElement(int i, int j)=0
Covariance matrix. PENDING: interface for matrix to be defined.
virtual int ndf()=0
Number of degrees of freedom.