GET library
|
#include <GETSignalModifier.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
GETSignalModifier (GETObject &obj) | |
GETSignalModifier (u_int n=0, double dt=0.01) | |
GETSignalModifier (const GETSignalModifier &proc) | |
virtual | ~GETSignalModifier () |
Signal processing | |
virtual GETSample * | ProcessSample (GETChannel &channel, u_short info) |
virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel)=0 |
ROOT related functions | |
ClassDef (GETSignalModifier, 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) |
virtual void | Init (u_int n, double dt) |
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 | |
GObjectV (GETSignalModifier) | |
Additional Inherited Members | |
Protected Attributes inherited from GETProcess | |
u_int | options |
Option flags. | |
GETSample | result_sample |
Internal processing result sample (processing result) | |
GETSignalModifier is the base class for modification of signal samples (noise, baseline corrections,...).
GETSignalModifier::GETSignalModifier | ( | GETObject & | obj | ) |
Constructor: the dimension of the first channel of the object is used for the process definition.
obj | a core object of the GET system |
GETSignalModifier::GETSignalModifier | ( | u_int | n = 0 , |
double | dt = 0.01 |
||
) |
Constructor.
n | sampling size of the channels |
dt | sampling period (us) |
GETSignalModifier::GETSignalModifier | ( | const GETSignalModifier & | proc | ) |
Copy constructor.
proc | object to copy |
|
virtual |
Destructor.
GETSignalModifier::ClassDef | ( | GETSignalModifier | , |
0 | |||
) |
for use within ROOT.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
This function processes the argument channel and stores the result in the internal sample.
The channel sample that is processed depends on the info argument:
channel | GET system channel to be processed |
info | additional optional information (sample signal identifier) |
Implements GETProcess.
References GETChannel::OutSample(), GETProcess::result_sample, GET::signalTst, and GETChannel::TstSample().
Referenced by GETChannel::ApplyOutputNoise(), GETChannel::ProcessOutFromTst(), and GETModifierSeq::ProcessSample().
|
pure virtual |
This is the effective function that processes the input sample and stores the result in the result sample. This function must be defined in the derived classes.
sample | input sample to be processed |
result | sample where result should be stored |
channel | GET system channel (the samples should correspond to this channel) |
Implements GETProcess.
Implemented in GETModifierSeq, GETPhaseCorrection, GETAutoBaseline, GETFilterModifier, GETNoise, GETSampleWindow, GETCalibProcess, GETBaselineCorrection, GETAutoBaselineHigh, and GETAutoBaselineLow.