GET library
|
#include <GETAutoBaselineHigh.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
GETAutoBaselineHigh (GETObject &obj, u_short num_hi=0, u_short off_hi=0) | |
GETAutoBaselineHigh (u_int n=0, double dt=0.01, u_short num_hi=0, u_short off_hi=0) | |
GETAutoBaselineHigh (const GETAutoBaselineHigh &proc) | |
virtual | ~GETAutoBaselineHigh () |
Signal processing | |
virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel) |
ROOT related functions | |
ClassDef (GETAutoBaselineHigh, 0) | |
Public Member Functions inherited from GETAutoBaseline | |
GETAutoBaseline (GETObject &obj, u_short num_lo=0, u_short num_hi=0, u_short off_lo=0, u_short off_hi=0) | |
GETAutoBaseline (u_int n=0, double dt=0.01, u_short num_lo=0, u_short num_hi=0, u_short off_lo=0, u_short off_hi=0) | |
GETAutoBaseline (const GETAutoBaseline &proc) | |
virtual | ~GETAutoBaseline () |
virtual void | SetBaselineLow (u_short num_lo, u_short off_lo=0) |
virtual void | SetBaselineHigh (u_short num_hi, u_short off_hi=0) |
ClassDef (GETAutoBaseline, 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) | |
Private Member Functions | |
GObject (GETAutoBaselineHigh) | |
Additional Inherited Members | |
Protected Attributes inherited from GETAutoBaseline | |
u_short | bucket_num_hi |
Number of buckets in the high part of the sample. | |
u_short | bucket_num_lo |
Number of buckets in the low part of the sample. | |
u_short | bucket_off_hi |
Buckets offset from last bucket. | |
u_short | bucket_off_lo |
Buckets offset from first bucket. | |
double | x_hi |
Center of the high part. | |
double | x_lo |
Center of the low part. | |
Protected Attributes inherited from GETProcess | |
u_int | options |
Option flags. | |
GETSample | result_sample |
Internal processing result sample (processing result) | |
This class defines an automatic base-line correction process.
The automatic baseline computes an average at the end of the sample and subtract it from the signal.
GETAutoBaselineHigh::GETAutoBaselineHigh | ( | GETObject & | obj, |
u_short | num_hi = 0 , |
||
u_short | off_hi = 0 |
||
) |
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 |
num_hi | number of buckets in the high part of the sample |
off_hi | buckets offset from last bucket |
GETAutoBaselineHigh::GETAutoBaselineHigh | ( | u_int | n = 0 , |
double | dt = 0.01 , |
||
u_short | num_hi = 0 , |
||
u_short | off_hi = 0 |
||
) |
Constructor. The baseline sample is initialized to 0.
n | sampling size of the channels |
dt | sampling period (us) |
num_hi | number of buckets in the high part of the sample |
off_hi | buckets offset from last bucket |
GETAutoBaselineHigh::GETAutoBaselineHigh | ( | const GETAutoBaselineHigh & | proc | ) |
Copy constructor.
proc | object to copy |
|
virtual |
Destructor.
GETAutoBaselineHigh::ClassDef | ( | GETAutoBaselineHigh | , |
0 | |||
) |
for use within ROOT.
|
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) |
Reimplemented from GETAutoBaseline.
References GETAutoBaseline::bucket_num_hi, and GETAutoBaseline::bucket_off_hi.