Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

SctData::ErfFitObject Class Reference

#include <ErfFitObject.h>

Inheritance diagram for SctData::ErfFitObject:

SctData::FitObject Sct::Streamable

Public Member Functions

 ErfFitObject () throw ()
 Default Constructor.

 ErfFitObject (const TF1 &rootfunc) throw (LogicError)
 Constructor from ROOT TF1.

virtual auto_ptr< FitObjectclone () const throw ()
 Allows any sub-class of FitObject to be used as a prototype.

virtual string getClassName () const throw ()
 Get the class name for this object.

virtual ~ErfFitObject () throw ()
 Destructor does nothing.

ErfFitObject & operator= (const TF1 &rootfunc) throw (LogicError)
 Equality with a ROOT TF1.


Protected Member Functions

virtual auto_ptr< TF1 > makeBasicRootTF1 () const throw (LogicError)
 call the correct constructor for making a ROOT TF1

void init () throw ()
 initialise parameter names and dimenstions:


Detailed Description

Author:
Alan Barr
Date:
9 December 2002
A derived class of the FitObject class for an error function

Parameters: Prefactor, Mean, Sigma

The evaluation of the function is done here through the root TMath class function Erf(x) = (2/sqrt(pi)) Integral(exp(-t^2))dt between 0 and x

Definition at line 21 of file ErfFitObject.h.


Constructor & Destructor Documentation

SctData::ErfFitObject::ErfFitObject   throw ()
 

Default Constructor.

Definition at line 6 of file ErfFitObject.cpp.

SctData::ErfFitObject::ErfFitObject const TF1 &    rootfunc throw (LogicError)
 

Constructor from ROOT TF1.

Definition at line 11 of file ErfFitObject.cpp.

virtual SctData::ErfFitObject::~ErfFitObject   throw () [inline, virtual]
 

Destructor does nothing.

Definition at line 35 of file ErfFitObject.h.


Member Function Documentation

auto_ptr< FitObject > SctData::ErfFitObject::clone   const throw () [virtual]
 

Allows any sub-class of FitObject to be used as a prototype.

Returns:
a new FitObject of the appropriate type which is a copy of this.

Implements SctData::FitObject.

Definition at line 17 of file ErfFitObject.cpp.

virtual string SctData::ErfFitObject::getClassName   const throw () [inline, virtual]
 

Get the class name for this object.

This is used to identify the precise type.

Todo:
We could use typeid instead here, but that would probably mean removing the namespace stuff.
Returns:
the class name

Implements Sct::Streamable.

Definition at line 32 of file ErfFitObject.h.

void SctData::ErfFitObject::init   throw () [protected, virtual]
 

initialise parameter names and dimenstions:

Implements SctData::FitObject.

Definition at line 26 of file ErfFitObject.cpp.

auto_ptr< TF1 > SctData::ErfFitObject::makeBasicRootTF1   const throw (LogicError) [protected, virtual]
 

call the correct constructor for making a ROOT TF1

Implements SctData::FitObject.

Definition at line 38 of file ErfFitObject.cpp.

ErfFitObject & SctData::ErfFitObject::operator= const TF1 &    rootfunc throw (LogicError)
 

Equality with a ROOT TF1.

Reimplemented from SctData::FitObject.

Definition at line 21 of file ErfFitObject.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:37:44 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3