|
GET library
|
#include <GETProcessSerie.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
| GETProcessSerie (GETObject &obj) | |
| GETProcessSerie (u_int n=0, double dt=0.01) | |
| GETProcessSerie (const GETProcessSerie &proc) | |
| virtual | ~GETProcessSerie () |
Managing the list of processes | |
| virtual GETProcess * | AddProcess (GETProcess *ptr) |
| virtual GETProcess * | AddProcess (GETProcess &obj) |
Signal processing | |
| virtual GETSample * | ProcessSample (GETChannel &channel, u_short info) |
| virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel) |
ROOT related functions | |
| ClassDef (GETProcessSerie, 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 (GETProcessSerie) | |
Additional Inherited Members | |
Protected Attributes inherited from GETProcess | |
| u_int | options |
| Option flags. | |
| GETSample | result_sample |
| Internal processing result sample (processing result) | |
GETProcessSerie defines a list of processes to be applyied sequentially. Actually the class is a list of GETProcessLink objects, not of GETProcess, so that each process added can be added either locally or externally.
| GETProcessSerie::GETProcessSerie | ( | 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 |
| GETProcessSerie::GETProcessSerie | ( | u_int | n = 0, |
| double | dt = 0.01 |
||
| ) |
Constructor.
| n | sampling size of the channels |
| dt | sampling period (us) |
| GETProcessSerie::GETProcessSerie | ( | const GETProcessSerie & | proc | ) |
Copy constructor.
| proc | object to copy |
|
virtual |
Destructor.
|
virtual |
Add a process to the list. A GETProcessLink object is created for the process, that is considered local (the process pointer is adopted).
| ptr | pointer to the process object |
References GETProcessLink::GetProcess().
Referenced by GETObject::AddOutputCorrection().
|
virtual |
Add a process to the list. A GETProcessLink object is created for the process, that is considered local (the process pointer is adopted).
| obj | process object |
References GETProcessLink::GetProcess().
| GETProcessSerie::ClassDef | ( | GETProcessSerie | , |
| 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().
|
virtual |
This is the effective function that processes the input sample and stores the result in the result sample. All processes from the list are applied sequentially.
| 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.
References GETObject::GetFullId(), and GETProcess::ProcessSample().