GET library
|
#include <GETFilterGaus.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
GETFilterGaus (u_int n=0, double dt=0.01L, double fcut=0.L, double wid=0.L) | |
GETFilterGaus (const GETFilterGaus &proc) | |
virtual | ~GETFilterGaus () |
Initialization functions | |
virtual void | Init (u_int n, double dt) |
virtual void | SetReference (double wid, double fcut=0.L) |
virtual void | UpdateFilter () |
double | GetReferenceFWHM () |
ROOT related functions | |
ClassDef (GETFilterGaus, 0) | |
Public Member Functions inherited from GETFilterRef | |
GETFilterRef (GETObject &obj, double fcut=0.) | |
GETFilterRef (u_int n=0, double dt=0.01, double fcut=0.) | |
GETFilterRef (const GETFilterRef &proc) | |
virtual | ~GETFilterRef () |
virtual void | SetCutFrequency (double fcut) |
double | GetCutFrequency () |
GETSample & | GetReference () |
ClassDef (GETFilterRef, 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 | ref_fwhm |
Reference signal width (FWHM) | |
Protected Attributes inherited from GETFilterRef | |
double | cut_frequency |
Filter cut frequency. | |
GETSample | ref_signal |
Reference Gaus signal. | |
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 (GETFilterGaus) | |
This class defines a filter adapted for Gauss signal.
It is based on the optimal filter, considering constant noise spectral density, corresponding to the reference signal PSD at cut frequency (see figure for GETFilterRef).
GETFilterGaus::GETFilterGaus | ( | u_int | n = 0 , |
double | dt = 0.01L , |
||
double | fcut = 0.L , |
||
double | wid = 0.L |
||
) |
Constructor.
n | sampling size of the channels |
dt | sampling period (us) |
fcut | cut frequency |
wid | width (FWHM) of reference signal |
References ref_fwhm, and UpdateFilter().
GETFilterGaus::GETFilterGaus | ( | const GETFilterGaus & | proc | ) |
|
virtual |
Destructor.
GETFilterGaus::ClassDef | ( | GETFilterGaus | , |
0 | |||
) |
for use within ROOT.
|
inline |
Return the reference signal width (FWHM).
References ref_fwhm.
|
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 GETFilterRef.
References GETFilter::Init(), and UpdateFilter().
|
virtual |
Set the filter paremeters.
wid | width (FWHM) of reference signal |
fcut | cut frequency (not changed if 0) |
References GETProcess::GetDimension(), GETFilter::GetFilter(), GETProcess::GetSamplingTime(), ref_fwhm, GETFilterRef::SetCutFrequency(), and UpdateFilter().
|
virtual |
Compute the reference and the filter sample.
Implements GETFilterRef.
References GETFilterRef::cut_frequency, GETProcess::GetDimension(), GETFilter::GetFilterPtr(), GETProcess::GetSamplingTime(), ref_fwhm, and GETFilterRef::ref_signal.
Referenced by GETFilterGaus(), Init(), and SetReference().