#include <ErfcFitObject.h>
Inheritance diagram for SctData::ErfcFitObject:
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< FitObject > | clone () const throw () |
Allows any sub-class of FitObject to be used as a prototype. | |
virtual | ~ErfcFitObject () throw () |
Destructor does nothing. | |
ErfcFitObject & | operator= (const TF1 &rootfunc) throw (LogicError) |
equality with root TF1 | |
Static Public Member Functions | |
static shared_ptr< ErfcFitObject > | create () |
Prefered way to create an ErfcFitObject. | |
Protected Member Functions | |
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 () |
static method to create vector of parameter names | |
Static Private Attributes | |
static std::vector< std::string > | parNames |
parameters: prefactor, mean, sigma. Evaluation uses TMath function Erf(x) = (2/sqrt(pi)) Integral(exp(-t^2))dt between 0 and x
Definition at line 18 of file ErfcFitObject.h.
|
Constructor.
Definition at line 31 of file ErfcFitObject.cpp. |
|
Constructor from a root TF1;.
Definition at line 45 of file ErfcFitObject.cpp. |
|
Destructor does nothing.
Definition at line 38 of file ErfcFitObject.h. |
|
Allows any sub-class of FitObject to be used as a prototype.
Implements SctData::FitObject. Definition at line 35 of file ErfcFitObject.cpp. References create(). Here is the call graph for this function: ![]() |
|
Prefered way to create an ErfcFitObject. May use more efficient allocation stuff than the default constructor.
Definition at line 26 of file ErfcFitObject.cpp. References SctData::ObjectPool< T >::get(). Referenced by clone(). Here is the call graph for this function: ![]() |
|
static method to create vector of parameter names
Definition at line 16 of file ErfcFitObject.cpp. References parNames. |
|
Get the class name for this object. This is used to identify the precise type.
Implements Sct::Streamable. Definition at line 33 of file ErfcFitObject.h. |
|
call the correct constructor for making a ROOT TF1
Implements SctData::FitObject. Definition at line 50 of file ErfcFitObject.cpp. References SctData::erfc(), and SctData::FitObject::getVarMax(). Here is the call graph for this function: ![]() |
|
equality with root TF1
Reimplemented from SctData::FitObject. Definition at line 40 of file ErfcFitObject.cpp. References SctData::FitObject::operator=(). Here is the call graph for this function: ![]() |