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

SctData::ErfcFitObject Class Reference

A derived class of the FitObject class of complimentary error function. More...

#include <ErfcFitObject.h>

Inheritance diagram for SctData::ErfcFitObject:

SctData::FitObject Sct::Streamable

Public Member Functions

 ErfcFitObject () throw ()
 Constructor.

 ErfcFitObject (const TF1 &rootfunc) throw (LogicError)
 Constructor from a root TF1;.

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

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

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

ErfcFitObject & operator= (const TF1 &rootfunc) throw (LogicError)
 equality with root TF1


Protected Member Functions

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

void init () throw ()
 initialisation method called in constructor.


Detailed Description

A derived class of the FitObject class of complimentary error function.

parameters: prefactor, mean, sigma. Evaluation uses TMath function Erf(x) = (2/sqrt(pi)) Integral(exp(-t^2))dt between 0 and x

Author:
Alan Barr
Date:
9 December 2002

Definition at line 19 of file ErfcFitObject.h.


Constructor & Destructor Documentation

SctData::ErfcFitObject::ErfcFitObject   throw ()
 

Constructor.

Definition at line 8 of file ErfcFitObject.cpp.

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

Constructor from a root TF1;.

Definition at line 22 of file ErfcFitObject.cpp.

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

Destructor does nothing.

Definition at line 32 of file ErfcFitObject.h.


Member Function Documentation

auto_ptr< FitObject > SctData::ErfcFitObject::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 13 of file ErfcFitObject.cpp.

virtual string SctData::ErfcFitObject::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 27 of file ErfcFitObject.h.

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

initialisation method called in constructor.

Implements SctData::FitObject.

Definition at line 29 of file ErfcFitObject.cpp.

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

call the correct constructor for making a ROOT TF1

Implements SctData::FitObject.

Definition at line 42 of file ErfcFitObject.cpp.

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

equality with root TF1

Reimplemented from SctData::FitObject.

Definition at line 17 of file ErfcFitObject.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