AmpTools
Parameter Class Reference

#include <Parameter.h>

Inheritance diagram for Parameter:
Collaboration diagram for Parameter:

Public Member Functions

 Parameter (const std::string &name, double initialValue=0, double initialError=0)
 
virtual ~Parameter ()
 
const std::string & name () const
 
void setValue (double newValue)
 
double value () const
 
const double * constValuePtr () const
 
double * valuePtr ()
 
virtual void setError (double newError, bool notify=false)
 
virtual double error () const
 
void setValueError (double newValue, double newError)
 
- Public Member Functions inherited from MISubject
virtual ~MISubject ()
 
void attach (MIObserver *)
 
void detach (MIObserver *)
 
void notify ()
 
ObserverListobserverList ()
 

Additional Inherited Members

- Public Types inherited from MISubject
typedef std::list< MIObserver * > ObserverList
 
- Protected Member Functions inherited from MISubject
 MISubject ()
 

Detailed Description

Definition at line 43 of file Parameter.h.

Constructor & Destructor Documentation

◆ Parameter()

Parameter::Parameter ( const std::string &  name,
double  initialValue = 0,
double  initialError = 0 
)

Definition at line 43 of file Parameter.cc.

◆ ~Parameter()

Parameter::~Parameter ( )
virtual

Definition at line 49 of file Parameter.cc.

Member Function Documentation

◆ constValuePtr()

const double* Parameter::constValuePtr ( ) const
inline

Definition at line 55 of file Parameter.h.

Here is the caller graph for this function:

◆ error()

virtual double Parameter::error ( ) const
inlinevirtual

Reimplemented in MinuitParameter.

Definition at line 59 of file Parameter.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ name()

const string & Parameter::name ( ) const

Definition at line 80 of file Parameter.cc.

Here is the caller graph for this function:

◆ setError()

void Parameter::setError ( double  newError,
bool  notify = false 
)
virtual

Reimplemented in DerivedParameter< T >.

Definition at line 67 of file Parameter.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setValue()

void Parameter::setValue ( double  newValue)

Definition at line 52 of file Parameter.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setValueError()

void Parameter::setValueError ( double  newValue,
double  newError 
)

Definition at line 73 of file Parameter.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value()

double Parameter::value ( ) const
inline

Definition at line 54 of file Parameter.h.

Here is the caller graph for this function:

◆ valuePtr()

double* Parameter::valuePtr ( )
inline

Definition at line 56 of file Parameter.h.

Here is the call graph for this function:

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