SpectraPac 2.0(r200)
Evaluates PAC Measurements
Public Member Functions | Protected Attributes

PacAbstractFitFunction Class Reference

Abstract class used as base for 1d fit function implementations. More...

#include <PacAbstractFitFunction.h>

Inheritance diagram for PacAbstractFitFunction:

List of all members.

Public Member Functions

 PacAbstractFitFunction ()
 PacAbstractFitFunction (const std::vector< double > &params)
virtual ~PacAbstractFitFunction ()
virtual QList
< Pac::FitParameterProperties
parameterProperties () const =0
virtual PacParameterState initialParameterSet () const
virtual QPixmap formulaAsPixmap () const =0
virtual QString formulaExplanation () const =0
virtual double Up () const
virtual QVector< double > fitResultCurve (const QVector< double > &xvals, const ROOT::Minuit2::MnUserParameterState &params) const =0
 Returns y values for a given set of x values and parameters.

Protected Attributes

QList
< Pac::FitParameterProperties
paramproperties

Detailed Description

Abstract class used as base for 1d fit function implementations.

Author:
Matthias Nagl <mnagl@uni-goettingen.de>

Fit functions inherit from this class This class adds additional information needed for the setup of parameter widgets and model presentation (as e.g. an annotated formula in a dialog).


Constructor & Destructor Documentation

PacAbstractFitFunction::PacAbstractFitFunction ( )
PacAbstractFitFunction::PacAbstractFitFunction ( const std::vector< double > &  params)
PacAbstractFitFunction::~PacAbstractFitFunction ( ) [virtual]

Member Function Documentation

virtual QVector<double> PacAbstractFitFunction::fitResultCurve ( const QVector< double > &  xvals,
const ROOT::Minuit2::MnUserParameterState &  params 
) const [pure virtual]

Returns y values for a given set of x values and parameters.

Implemented in PacConvolvedExponential, and PacExponential.

virtual QPixmap PacAbstractFitFunction::formulaAsPixmap ( ) const [pure virtual]
virtual QString PacAbstractFitFunction::formulaExplanation ( ) const [pure virtual]
PacParameterState PacAbstractFitFunction::initialParameterSet ( ) const [virtual]

Reimplemented in PacConvolvedExponential.

virtual QList<Pac::FitParameterProperties> PacAbstractFitFunction::parameterProperties ( ) const [pure virtual]
Note:
paramproperties is initialized in this method for performance reasons (to avoid unnecessary initializations)

Implemented in PacConvolvedExponential, and PacExponential.

virtual double PacAbstractFitFunction::Up ( ) const [inline, virtual]

Member Data Documentation

Warning:
Is not initialized before parameterProperties() was called at least once!

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines