GET library
|
#include <GETFilterShift.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
GETFilterShift (GETObject &obj, double off=0.) | |
GETFilterShift (u_int n=0, double dt=0.01, double off=0.) | |
GETFilterShift (const GETFilterShift &proc) | |
virtual | ~GETFilterShift () |
Initialization functions | |
virtual void | SetTimeShift (double off) |
double | GetTimeShift () const |
virtual void | Init (u_int n, double dt) |
virtual void | UpdateFilter () |
ROOT related functions | |
ClassDef (GETFilterShift, 0) | |
Public Member Functions inherited from GETFilter | |
GETFilter (GETObject &obj) | |
GETFilter (u_int n=0, double dt=0.01) | |
GETFilter (const GETFilter &proc) | |
GETFilter (GETFilter &f1, GETFilter &f2) | |
virtual | ~GETFilter () |
virtual void | Reset () |
virtual void | SetNormalized (bool b=true) |
virtual void | Normalize (double norm=1.) |
virtual void | Scale (double fact=1.) |
const GETSample * | GetFilterPtr () const |
GETSample * | GetFilterPtr () |
const GETSample & | GetFilter () const |
GETSample & | GetFilter () |
virtual GETSample * | ProcessSample (GETChannel &channel, u_short info=GET::signalOut) |
virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel) |
ClassDef (GETFilter, 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) | |
Protected Attributes | |
double | time_shift |
Time offset. | |
Protected Attributes inherited from GETFilter | |
GETSample | filter_fct |
Filter function for an AGET channel. | |
Protected Attributes inherited from GETProcess | |
u_int | options |
Option flags. | |
GETSample | result_sample |
Internal processing result sample (processing result) | |
Private Member Functions | |
GObject (GETFilterShift) | |
This class defines a filter that shifts the signal from a time offset.
GETFilterShift::GETFilterShift | ( | GETObject & | obj, |
double | off = 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 |
off | time shift |
References GETObject::GetSampleDim(), GETObject::GetTimeStep(), time_shift, and UpdateFilter().
GETFilterShift::GETFilterShift | ( | u_int | n = 0 , |
double | dt = 0.01 , |
||
double | off = 0. |
||
) |
Constructor.
n | sampling size of the channels |
dt | sampling period (us) |
off | time shift |
References time_shift, and UpdateFilter().
GETFilterShift::GETFilterShift | ( | const GETFilterShift & | proc | ) |
Copy constructor.
proc | object to copy |
References GETFilter::GetFilter(), time_shift, and UpdateFilter().
|
virtual |
Destructor.
GETFilterShift::ClassDef | ( | GETFilterShift | , |
0 | |||
) |
for use within ROOT.
|
inline |
Return the time shift.
References time_shift.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Initialization of response function sample. If the analytical function is defined, the response function sample is computed.
n | sampling size of the function |
dt | sampling time step |
Reimplemented from GETFilter.
References GETFilter::Init(), and UpdateFilter().
|
virtual |
Set the cut frequency.
off | time shift |
References GETProcess::GetDimension(), GETProcess::GetSamplingTime(), time_shift, and UpdateFilter().
|
virtual |
Compute the filter sample.
References GETProcess::GetDimension(), GETFilter::GetFilterPtr(), GETProcess::GetSamplingTime(), and time_shift.
Referenced by GETFilterShift(), Init(), and SetTimeShift().