Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | 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:

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

Collaboration graph
[legend]

Public Member Functions

 ErfcFitObject ()
 Constructor.

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

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

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

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

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


Static Public Member Functions

shared_ptr< ErfcFitObjectcreate ()
 Prefered way to create an ErfcFitObject.


Protected Member Functions

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


Static Private Member Functions

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


Static Private Attributes

vector< string > parNames

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 18 of file ErfcFitObject.h.


Constructor & Destructor Documentation

SctData::ErfcFitObject::ErfcFitObject  ) 
 

Constructor.

Definition at line 30 of file ErfcFitObject.cpp.

SctData::ErfcFitObject::ErfcFitObject const TF1 &  rootfunc  ) 
 

Constructor from a root TF1;.

Definition at line 44 of file ErfcFitObject.cpp.

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

Destructor does nothing.

Definition at line 38 of file ErfcFitObject.h.


Member Function Documentation

shared_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 34 of file ErfcFitObject.cpp.

shared_ptr< ErfcFitObject > SctData::ErfcFitObject::create  )  [static]
 

Prefered way to create an ErfcFitObject.

May use more efficient allocation stuff than the default constructor.

Note:
Nothrow

Definition at line 25 of file ErfcFitObject.cpp.

References SctData::ObjectPool< T >::get().

Here is the call graph for this function:

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

static method to create vector of parameter names

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

Returns:
the class name
Note:
Nothrow

Implements Sct::Streamable.

Definition at line 33 of file ErfcFitObject.h.

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 49 of file ErfcFitObject.cpp.

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

equality with root TF1

Reimplemented from SctData::FitObject.

Definition at line 39 of file ErfcFitObject.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:52:37 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5