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 std::auto_ptr< TF1 > makeBasicRootTF1 () const throw (LogicError)
 call the correct constructor for making a ROOT TF1

Static Private Member Functions

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

Static Private Attributes

static std::vector< std::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 26 of file ErfFitObject.cpp.

Referenced by clone().

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

Constructor from ROOT TF1.

Definition at line 29 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 32 of file ErfFitObject.cpp.

References ErfFitObject().

Here is the call graph for this function:

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

file static method to create vector of parameter names

Definition at line 16 of file ErfFitObject.cpp.

References parNames.

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

References SctData::erf(), and SctData::FitObject::getVarMax().

Here is the call graph for this function:

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

Equality with a ROOT TF1.

Reimplemented from SctData::FitObject.

Definition at line 36 of file ErfFitObject.cpp.

References SctData::FitObject::operator=().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:07:15 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6