GET library
|
#include <GETBaselineCorrection.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
GETBaselineCorrection (GETObject &obj) | |
GETBaselineCorrection (u_int n=0, double dt=0.01) | |
GETBaselineCorrection (const GETSample &ped) | |
GETBaselineCorrection (const GETBaselineCorrection &proc) | |
virtual | ~GETBaselineCorrection () |
Process parameters | |
const GETSample & | GetBaseline () const |
GETSample & | GetBaseline () |
virtual void | SetBaseline (const GETSample &ped) |
Signal processing | |
virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel) |
ROOT related functions | |
ClassDef (GETBaselineCorrection, 0) | |
Public Member Functions inherited from GETSignalModifier | |
GETSignalModifier (GETObject &obj) | |
GETSignalModifier (u_int n=0, double dt=0.01) | |
GETSignalModifier (const GETSignalModifier &proc) | |
virtual | ~GETSignalModifier () |
virtual GETSample * | ProcessSample (GETChannel &channel, u_short info) |
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) | |
Protected Attributes | |
GETSample | baseline |
Baseline sample data. | |
Protected Attributes inherited from GETProcess | |
u_int | options |
Option flags. | |
GETSample | result_sample |
Internal processing result sample (processing result) | |
Private Member Functions | |
GObject (GETBaselineCorrection) | |
This class defines a base-line correction process, acting as an output noise process.
GETBaselineCorrection::GETBaselineCorrection | ( | GETObject & | obj | ) |
Constructor. The dimension of the first channel of the object is used for the process definition. The baseline sample is initialized to 0.
obj | a core object of the GET system |
GETBaselineCorrection::GETBaselineCorrection | ( | u_int | n = 0 , |
double | dt = 0.01 |
||
) |
Constructor. The baseline sample is initialized to 0.
n | sampling size of the channels |
dt | sampling period (us) |
GETBaselineCorrection::GETBaselineCorrection | ( | const GETSample & | ped | ) |
Constructor. The sample parameters (size and period) are taken from the pedestal sample.
ped | pedestal (baseline) sample |
References baseline.
GETBaselineCorrection::GETBaselineCorrection | ( | const GETBaselineCorrection & | proc | ) |
|
virtual |
Destructor.
GETBaselineCorrection::ClassDef | ( | GETBaselineCorrection | , |
0 | |||
) |
for use within ROOT.
|
inline |
|
inline |
Return the baseline sample.
References baseline.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
This function process the input sample channel and stores the result in the result sample.
The function returns the (argument) result sample sample pointer. In case of error, the result is a NULL pointer.
sample | input sample to be processed |
result | sample where result should be stored |
channel | GET system channel (no use in this class) |
Implements GETSignalModifier.
Reimplemented in GETPhaseCorrection.
References baseline.
|
inlinevirtual |