RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::IFitResultROOT Class Reference

Dummy implementation of the IFitResult class. More...

#include <IFitResultROOT.h>

Inheritance diagram for AIDA::IFitResultROOT:
AIDA::IFitResult

Public Member Functions

virtual ~IFitResultROOT ()
 Destructor.
 
virtual bool isValid ()
 True if fit successful, otherwise false.
 
virtual int fitStatus ()
 Status of the fit. PENDING: what are the suggested values?
 
virtual IFunctionfittedFunction ()
 Fitted function. The parameters hold the results of the fit.
 
virtual double quality ()
 Quality of the fit. More...
 
virtual int ndf ()
 Number of degrees of freedom.
 
virtual double covMatrixElement (int i, int j)
 Covariance matrix. PENDING: interface for matrix to be defined.
 
virtual std::string fitMethodName ()
 Fit method name as set in the fitter.
 
virtual std::string engineName ()
 Engine used to do fitting.
 
virtual std::string dataDescription ()
 Textual description of data - this is a hint for the user how to find the data in the tree if he wanted to repeat the fit later and lost the pointer to his orignal data object. More...
 
virtual std::vector< std::string > constraints ()
 Vector of constraints.
 
virtual IFitParameterSettingsfitParameterSettings (const std::string &name)
 Access to applied parameter settings.
 
virtual const std::vector
< double > & 
fittedParameters () const
 Get the array of the fitted parameter values (including fixed and constrained ones). More...
 
virtual std::vector< std::string > fittedParameterNames () const
 Get the names of the fitted parameters (including fixed and constrained ones). More...
 
virtual double fittedParameter (const std::string &name)
 Get the value of a fitted parameter by name. More...
 
virtual const std::vector
< double > & 
errors () const
 Get the parabolic errors on the fitted parameters. More...
 
virtual const std::vector
< double > & 
errorsPlus () const
 Get the positive part of the asymmetric errors on the fitted parameters. More...
 
virtual const std::vector
< double > & 
errorsMinus () const
 Get the negative part of the asymmetric errors on the fitted parameters. More...
 
- Public Member Functions inherited from AIDA::IFitResult
virtual ~IFitResult ()
 Destructor.
 

Detailed Description

Dummy implementation of the IFitResult class.

Member Function Documentation

std::string IFitResultROOT::dataDescription ( )
virtual

Textual description of data - this is a hint for the user how to find the data in the tree if he wanted to repeat the fit later and lost the pointer to his orignal data object.

PENDING: the contents and format of this string to be defined. PENDING: XML? stor name and path? ranges of DataPipe?

Implements AIDA::IFitResult.

const std::vector< double > & IFitResultROOT::errors ( ) const
virtual

Get the parabolic errors on the fitted parameters.

If a parameter was fixed or constrained the error is zero.

Returns
The parabolic errors on the fitted parameters.

Implements AIDA::IFitResult.

const std::vector< double > & IFitResultROOT::errorsMinus ( ) const
virtual

Get the negative part of the asymmetric errors on the fitted parameters.

If a parameter was fixed or constrained the error is zero.

Returns
The negative part of the asymmetric errors on the fitted parameters.

Implements AIDA::IFitResult.

const std::vector< double > & IFitResultROOT::errorsPlus ( ) const
virtual

Get the positive part of the asymmetric errors on the fitted parameters.

If a parameter was fixed or constrained the error is zero.

Returns
The positive part of the asymmetric errors on the fitted parameters.

Implements AIDA::IFitResult.

double IFitResultROOT::fittedParameter ( const std::string &  name)
virtual

Get the value of a fitted parameter by name.

Returns
The value.

Implements AIDA::IFitResult.

std::vector< std::string > IFitResultROOT::fittedParameterNames ( ) const
virtual

Get the names of the fitted parameters (including fixed and constrained ones).

Returns
The array containing the names of the fitted parameters.

Implements AIDA::IFitResult.

const std::vector< double > & IFitResultROOT::fittedParameters ( ) const
virtual

Get the array of the fitted parameter values (including fixed and constrained ones).

Returns
The array containing the fitted values.

Implements AIDA::IFitResult.

double IFitResultROOT::quality ( )
virtual

Quality of the fit.

Depending on the fit method this may be the value of Chi2 or Maximu Likelihood.

Implements AIDA::IFitResult.


The documentation for this class was generated from the following files: