|
GET library
|
#include <GETFunction.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
| GETFunction (TF1 *f=NULL) | |
| GETFunction (const string name, double(*fptr)(const double[], const double[]), u_int npar) | |
| GETFunction (const GETFunction &f) | |
| virtual | ~GETFunction () |
Function definition and parameters | |
| TF1 * | GetFunction () |
| u_int | GetParamNumber () const |
| double | GetParamValue (u_int i) const |
| void | SetParamValue (u_int i, double val) |
ROOT related functions | |
| ClassDef (GETFunction, 0) | |
Protected Attributes | |
| TF1 * | fct_def |
| Associated ROOT function pointer. | |
Private Member Functions | |
| GObjectV (GETFunction) | |
This class defines an analytical function definition for the GET processes. It is defined with a TF1 function.
The class is abstract and has to be derivated for specific functions definition (in order to be written / read) in GET definition files).
| GETFunction::GETFunction | ( | TF1 * | f = NULL | ) |
Constructor from a ROOT TF1 function. The TF1 function is adopted by the current instance.
| f | ROOT function pointer |
References fct_def.
| GETFunction::GETFunction | ( | const string | name, |
| double(*)(const double[], const double[]) | fptr, | ||
| u_int | npar | ||
| ) |
Constructor from a function pointer.
| name | function name (for TF1) |
| fptr | function pointer |
| npar | number of parameters |
References fct_def.
| GETFunction::GETFunction | ( | const GETFunction & | f | ) |
|
virtual |
Destructor.
References fct_def.
| GETFunction::ClassDef | ( | GETFunction | , |
| 0 | |||
| ) |
for use within ROOT.
|
inline |
Return the pointer to the ROOT function.
References fct_def.
|
inline |
Return the number parameters of the function.
References fct_def.
|
inline |
Return the value of a parameter.
References fct_def.
Referenced by GETResponseFctAget::GetAmplitude(), GETResponseFctAget::GetPeakingTime(), GETResponseFctAget::GetSignalOffset(), and GETResponseFctAget::GetTimeOffset().
|
private |
Macro from GCpp library that defines the following functions:
|
inline |
Set the value of a parameter.
References fct_def.
Referenced by GETResponseFctAget::SetAmplitude(), GETResponseFctAget::SetPeakingTime(), GETResponseFctAget::SetSignalOffset(), and GETResponseFctAget::SetTimeOffset().