#include <WrappedTF1.h>


interface inherited from IParamFunction | |
| const double * | Parameters () const |
| access the parameter values | |
| void | SetParameters (const double *p) |
| set parameter values | |
| unsigned int | NPar () const |
| return number of parameters | |
| std::string | ParameterName (unsigned int i) const |
| return parameter name (from TF1) | |
| double | operator() (const double *x, const double *p) |
| evaluate function passing coordinates x and vector of parameters | |
Public Types | |
| typedef ROOT::Math::IParamGradFunction | BaseGradFunc |
| typedef ROOT::Math::IParamGradFunction::BaseFunc | BaseFunc |
Public Member Functions | |
| WrappedTF1 () | |
| WrappedTF1 (TF1 &f) | |
| constructor from a function pointer. | |
| virtual | ~WrappedTF1 () |
| Destructor (no operations). | |
| WrappedTF1 (const WrappedTF1 &rhs) | |
| Copy constructor. | |
| WrappedTF1 & | operator= (const WrappedTF1 &rhs) |
| Assignment operator. | |
interface inherited from IFunction | |
| ROOT::Math::IGenFunction * | Clone () const |
| Clone the wrapper but not the original function. | |
This allows for the copy of the wrapper function without the need to copy the TF1. The wrapper does not own the TF1 pointer, so it assumes it exists during the wrapper lifetime
Definition at line 38 of file WrappedTF1.h.
Reimplemented from ROOT::Math::IParametricGradFunctionOneDim.
Definition at line 42 of file WrappedTF1.h.
Reimplemented from ROOT::Math::IParametricGradFunctionOneDim.
Definition at line 43 of file WrappedTF1.h.
| ROOT::Math::WrappedTF1::WrappedTF1 | ( | ) | [inline] |
| ROOT::Math::WrappedTF1::WrappedTF1 | ( | TF1 & | f | ) | [inline] |
| virtual ROOT::Math::WrappedTF1::~WrappedTF1 | ( | ) | [inline, virtual] |
Destructor (no operations).
TF1 Function pointer is not owned
Definition at line 61 of file WrappedTF1.h.
| ROOT::Math::WrappedTF1::WrappedTF1 | ( | const WrappedTF1 & | rhs | ) | [inline] |
| WrappedTF1& ROOT::Math::WrappedTF1::operator= | ( | const WrappedTF1 & | rhs | ) | [inline] |
| ROOT::Math::IGenFunction* ROOT::Math::WrappedTF1::Clone | ( | ) | const [inline, virtual] |
Clone the wrapper but not the original function.
Implements ROOT::Math::IBaseFunctionOneDim.
Definition at line 92 of file WrappedTF1.h.
References WrappedTF1().
| const double* ROOT::Math::WrappedTF1::Parameters | ( | ) | const [inline, virtual] |
access the parameter values
Implements ROOT::Math::IBaseParam.
Definition at line 100 of file WrappedTF1.h.
| void ROOT::Math::WrappedTF1::SetParameters | ( | const double * | p | ) | [inline, virtual] |
set parameter values
Implements ROOT::Math::IBaseParam.
Definition at line 106 of file WrappedTF1.h.
| unsigned int ROOT::Math::WrappedTF1::NPar | ( | ) | const [inline, virtual] |
return number of parameters
Implements ROOT::Math::IBaseParam.
Definition at line 114 of file WrappedTF1.h.
| std::string ROOT::Math::WrappedTF1::ParameterName | ( | unsigned int | i | ) | const [inline, virtual] |
return parameter name (from TF1)
Reimplemented from ROOT::Math::IBaseParam.
Definition at line 120 of file WrappedTF1.h.
| double ROOT::Math::WrappedTF1::operator() | ( | const double * | x, | |
| const double * | p | |||
| ) | [inline, virtual] |
evaluate function passing coordinates x and vector of parameters
Reimplemented from ROOT::Math::IParametricFunctionOneDim.
Definition at line 125 of file WrappedTF1.h.
1.5.3