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

SctData::GausFitObject Class Reference

A derrived class of the FitObject class of gausian form f = [0] * exp( 0.5 * ( (x-[1])/[2] )**2 ) Parameters: [0] is the prefactor; [1] is the mean; [2] is the standard deviation;. More...

#include <GausFitObject.h>

Inheritance diagram for SctData::GausFitObject:

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

Collaboration graph
[legend]

Public Member Functions

 GausFitObject ()
 Default constructor.

 GausFitObject (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 ~GausFitObject () throw ()
 Destructor.

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

GausFitObjectoperator= (const TF1 &) throw (LogicError)
 Checks for formula of TF1="gaus" before continuing;.


Protected Member Functions

auto_ptr< TF1 > makeBasicRootTF1 () const throw (LogicError)
 make a ROOT TF1 with the appropriate constructor


Static Private Member Functions

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


Static Private Attributes

vector< string > parNames

Detailed Description

A derrived class of the FitObject class of gausian form f = [0] * exp( 0.5 * ( (x-[1])/[2] )**2 ) Parameters: [0] is the prefactor; [1] is the mean; [2] is the standard deviation;.

Author:
Alan Barr
Date:
9 December 2002

Definition at line 20 of file GausFitObject.h.


Constructor & Destructor Documentation

SctData::GausFitObject::GausFitObject  ) 
 

Default constructor.

Definition at line 24 of file GausFitObject.cpp.

SctData::GausFitObject::GausFitObject const TF1 &  rootfunc  ) 
 

Constructor from ROOT TF1;.

Definition at line 27 of file GausFitObject.cpp.

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

Destructor.

Definition at line 31 of file GausFitObject.h.


Member Function Documentation

shared_ptr< FitObject > SctData::GausFitObject::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 30 of file GausFitObject.cpp.

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

file static method to create vector of parameter names

Definition at line 14 of file GausFitObject.cpp.

virtual string SctData::GausFitObject::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 GausFitObject.h.

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

make a ROOT TF1 with the appropriate constructor

Implements SctData::FitObject.

Definition at line 44 of file GausFitObject.cpp.

GausFitObject & SctData::GausFitObject::operator= const TF1 &   )  throw (LogicError)
 

Checks for formula of TF1="gaus" before continuing;.

Reimplemented from SctData::FitObject.

Definition at line 34 of file GausFitObject.cpp.


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