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

SctData::ErfFitObject Class Reference

#include <ErfFitObject.h>

Inheritance diagram for SctData::ErfFitObject:

Inheritance graph
[legend]
Collaboration diagram for SctData::ErfFitObject:

Collaboration graph
[legend]

Public Member Functions

 ErfFitObject ()
 Default Constructor.

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

virtual shared_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.

ErfFitObjectoperator= (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


Static Private Member Functions

vector< string > createParNames ()
 file static method to create vector of parameter names


Static Private Attributes

vector< string > parNames

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 19 of file ErfFitObject.h.


Constructor & Destructor Documentation

SctData::ErfFitObject::ErfFitObject  ) 
 

Default Constructor.

Definition at line 25 of file ErfFitObject.cpp.

SctData::ErfFitObject::ErfFitObject const TF1 &  rootfunc  ) 
 

Constructor from ROOT TF1.

Definition at line 28 of file ErfFitObject.cpp.

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

Destructor does nothing.

Definition at line 33 of file ErfFitObject.h.


Member Function Documentation

shared_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 31 of file ErfFitObject.cpp.

vector< string > SctData::ErfFitObject::createParNames  )  [static, private]
 

file static method to create vector of parameter names

Definition at line 15 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.

Returns:
the class name
Note:
Nothrow

Implements Sct::Streamable.

Definition at line 30 of file ErfFitObject.h.

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 41 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 35 of file ErfFitObject.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 8 11:42:16 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5