GET library
|
#include <GETFilterLow.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
GETFilterLow (GETObject &obj, double fcut=0.) | |
GETFilterLow (u_int n=0, double dt=0.01, double fcut=0.) | |
GETFilterLow (const GETFilterLow &proc) | |
virtual | ~GETFilterLow () |
Initialization functions | |
virtual void | UpdateFilter () |
ROOT related functions | |
ClassDef (GETFilterLow, 0) | |
Public Member Functions inherited from GETFilterCut | |
GETFilterCut (GETObject &obj, double fcut=0.) | |
GETFilterCut (u_int n=0, double dt=0.01, double fcut=0.) | |
GETFilterCut (const GETFilterCut &proc) | |
virtual | ~GETFilterCut () |
virtual void | SetCutFrequency (double fcut) |
double | GetCutFrequency () const |
virtual void | Init (u_int n, double dt) |
ClassDef (GETFilterCut, 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) | |
Private Member Functions | |
GObject (GETFilterLow) | |
Additional Inherited Members | |
Protected Attributes inherited from GETFilterCut | |
double | cut_frequency |
Filter cut frequency. | |
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) | |
This class defines a low pass filter of order 1, with a response in Fourier space with following form:
where is the cut frequency.
GETFilterLow::GETFilterLow | ( | GETObject & | obj, |
double | fcut = 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 |
fcut | cut frequency |
References GETFilterCut::cut_frequency, GETObject::GetSampleDim(), GETObject::GetTimeStep(), GETFilter::Init(), and UpdateFilter().
GETFilterLow::GETFilterLow | ( | u_int | n = 0 , |
double | dt = 0.01 , |
||
double | fcut = 0. |
||
) |
Constructor.
n | sampling size of the channels |
dt | sampling period (us) |
fcut | cut frequency |
References GETFilterCut::cut_frequency, GETFilter::Init(), and UpdateFilter().
GETFilterLow::GETFilterLow | ( | const GETFilterLow & | proc | ) |
Copy constructor.
proc | object to copy |
References GETFilterCut::cut_frequency, GETFilterCut::GetCutFrequency(), GETFilter::GetFilter(), GETFilter::Init(), and UpdateFilter().
|
virtual |
Destructor.
GETFilterLow::ClassDef | ( | GETFilterLow | , |
0 | |||
) |
for use within ROOT.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Compute the filter sample.
Reimplemented from GETFilterCut.
References GETFilterCut::cut_frequency, GETProcess::GetDimension(), GETFilter::GetFilterPtr(), and GETProcess::GetSamplingTime().
Referenced by GETFilterLow().