|
GET library
|
#include <GETResponseFctAget.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
| GETResponseFctAget (GETObject &obj, double amp=1., double tau=0.200, double t0=0., double bg=0.) | |
| GETResponseFctAget (u_int n=0, double dt=0.01, double amp=1., double tau=0.200, double t0=0., double bg=0.) | |
| GETResponseFctAget (const GETResponseFctAget &proc) | |
| virtual | ~GETResponseFctAget () |
ROOT related functions | |
| ClassDef (GETResponseFctAget, 0) | |
Public Member Functions inherited from GETResponseFct | |
| GETResponseFct (GETObject &obj) | |
| GETResponseFct (u_int n=0, double dt=0.01) | |
| GETResponseFct (GETObject &obj, TF1 *f) | |
| GETResponseFct (u_int n, double dt, TF1 *f) | |
| GETResponseFct (GETObject &obj, const string name, double(*fptr)(const double[], const double[]), u_int npar, double *vpar=NULL) | |
| GETResponseFct (u_int n, double dt, const string name, double(*fptr)(const double[], const double[]), u_int npar, double *vpar=NULL) | |
| GETResponseFct (const GETResponseFct &proc) | |
| virtual | ~GETResponseFct () |
| void | SetFunction (TF1 *f, bool calc=true) |
| void | UpdateFunction () |
| virtual void | Init (u_int n, double dt) |
| ClassDef (GETResponseFct, 0) | |
Public Member Functions inherited from GETResponse | |
| GETResponse (GETObject &obj) | |
| GETResponse (u_int n=0, double dt=0.01) | |
| GETResponse (const GETResponse &proc) | |
| virtual | ~GETResponse () |
| virtual void | Reset () |
| const GETSample * | GetResponsePtr () const |
| GETSample * | GetResponsePtr () |
| const GETSample & | GetResponse () const |
| GETSample & | GetResponse () |
| virtual GETSample * | ProcessSample (GETChannel &channel, u_short info) |
| virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel) |
| virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel, bool inv) |
| ClassDef (GETResponse, 0) | |
Public Member Functions inherited from GETProcess | |
| GETProcess (GETObject &obj) | |
| GETProcess (u_int n=0, double dt=0.01) | |
| GETProcess (const GETProcess &proc) | |
| virtual | ~GETProcess () |
| virtual void | SetOptions (u_int opts) |
| virtual void | SetOption (u_int flags, bool b=true) |
| virtual u_int | GetOptions () |
| virtual bool | GetOption (u_int flags) |
| u_int | GetDimension () const |
| double | GetSamplingTime () const |
| GETSample * | GetResultSamplePtr () |
| const GETSample * | GetResultSamplePtr () const |
| GETSample & | GetResultSample () |
| const GETSample & | GetResultSample () const |
| ClassDef (GETProcess, 0) | |
Public Member Functions inherited from GETFunction | |
| GETFunction (TF1 *f=NULL) | |
| GETFunction (const string name, double(*fptr)(const double[], const double[]), u_int npar) | |
| GETFunction (const GETFunction &f) | |
| virtual | ~GETFunction () |
| TF1 * | GetFunction () |
| u_int | GetParamNumber () const |
| double | GetParamValue (u_int i) const |
| void | SetParamValue (u_int i, double val) |
| ClassDef (GETFunction, 0) | |
Private Member Functions | |
| GObject (GETResponseFctAget) | |
Response function | |
| double | GetAmplitude () const |
| double | GetPeakingTime () const |
| double | GetTimeOffset () const |
| double | GetSignalOffset () const |
| void | SetAmplitude (double val, bool update=true) |
| void | SetPeakingTime (double val, bool update=true) |
| void | SetTimeOffset (double val, bool update=true) |
| void | SetSignalOffset (double val, bool update=true) |
| static double | Function (double x[], double p[]) |
Additional Inherited Members | |
Protected Attributes inherited from GETResponse | |
| GETSample | response_fct |
| Response function for an AGET channel. | |
Protected Attributes inherited from GETProcess | |
| u_int | options |
| Option flags. | |
| GETSample | result_sample |
| Internal processing result sample (processing result) | |
Protected Attributes inherited from GETFunction | |
| TF1 * | fct_def |
| Associated ROOT function pointer. | |
This class defines the analytical response function for the GET input signal from empirical function with 3 parameters.
| GETResponseFctAget::GETResponseFctAget | ( | GETObject & | obj, |
| double | amp = 1., |
||
| double | tau = 0.200, |
||
| double | t0 = 0., |
||
| double | bg = 0. |
||
| ) |
Constructor. The dimension of the first channel of the object is used for the process definition.
| obj | a core object of the GET system |
| amp | amplitude factor |
| tau | peaking time (us) |
| t0 | time offset (us) |
| bg | background (offset) |
References Function(), and GETResponseFct::SetFunction().
| GETResponseFctAget::GETResponseFctAget | ( | u_int | n = 0, |
| double | dt = 0.01, |
||
| double | amp = 1., |
||
| double | tau = 0.200, |
||
| double | t0 = 0., |
||
| double | bg = 0. |
||
| ) |
Constructor.
| n | sampling size of the channels |
| dt | sampling period (us) |
| amp | amplitude factor |
| tau | peaking time (us) |
| t0 | time offset (us) |
| bg | background (offset) |
References Function(), and GETResponseFct::SetFunction().
| GETResponseFctAget::GETResponseFctAget | ( | const GETResponseFctAget & | proc | ) |
Copy constructor.
| proc | object to copy |
|
virtual |
Destructor.
| GETResponseFctAget::ClassDef | ( | GETResponseFctAget | , |
| 0 | |||
| ) |
for use within ROOT.
|
static |
Aget analytical response function (empirical). The parameters are:
| x | function argument |
| p | function parameters |
Referenced by GETResponseFctAget(), GETFilterAget::UpdateFilter(), and GETFilterAgetGaus::UpdateFilter().
|
inline |
Get the amplitude parameter.
References GETFunction::GetParamValue().
|
inline |
Get the peaking time parameter.
References GETFunction::GetParamValue().
|
inline |
Get the signal offset parameter.
References GETFunction::GetParamValue().
|
inline |
Get the time offset parameter.
References GETFunction::GetParamValue().
|
private |
Macro from GCpp library that defines the following functions:
|
inline |
Set amplitude parameter.
| val | parameter value |
| update | update response function sample |
References GETFunction::SetParamValue(), and GETResponseFct::UpdateFunction().
|
inline |
Set peaking time parameter.
| val | parameter value |
| update | update response function sample |
References GETFunction::SetParamValue(), and GETResponseFct::UpdateFunction().
|
inline |
Set signal offset (background) parameter.
| val | parameter value |
| update | update response function sample |
References GETFunction::SetParamValue(), and GETResponseFct::UpdateFunction().
|
inline |
Set time offset parameter.
| val | parameter value |
| update | update response function sample |
References GETFunction::SetParamValue(), and GETResponseFct::UpdateFunction().