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

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

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

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 26 of file GausFitObject.cpp.

Referenced by clone().

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

Constructor from ROOT TF1;.

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

References GausFitObject().

Here is the call graph for this function:

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

file static method to create vector of parameter names

Definition at line 16 of file GausFitObject.cpp.

References parNames.

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 46 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 36 of file GausFitObject.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:20 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6