GET library
|
#include <GETModifierSeq.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
GETModifierSeq (GETSignalModifier *p1=NULL, GETSignalModifier *p2=NULL) | |
GETModifierSeq (GETSignalModifier &p1, GETSignalModifier &p2) | |
GETModifierSeq (const GETModifierSeq &proc) | |
virtual | ~GETModifierSeq () |
Process parameters | |
const GETSignalModifier * | GetProcess1 () const |
GETSignalModifier * | GetProcess1 () |
const GETSignalModifier * | GetProcess2 () const |
GETSignalModifier * | GetProcess2 () |
bool | IsProcess1Local () const |
bool | IsProcess2Local () const |
virtual void | SetProcess (const GETSignalModifier *proc) |
virtual void | SetProcess (const GETSignalModifier &proc) |
Signal processing | |
virtual GETSample * | ProcessSample (GETSample &sample, GETSample &result, GETChannel &channel) |
ROOT related functions | |
ClassDef (GETModifierSeq, 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 | |
bool | local_p1 |
Whether process 1 is defined locally. | |
bool | local_p2 |
Whether process 1 is defined locally. | |
GETSignalModifier * | process1 |
First signal modifier. | |
GETSignalModifier * | process2 |
Second signal modifier. | |
Protected Attributes inherited from GETProcess | |
u_int | options |
Option flags. | |
GETSample | result_sample |
Internal processing result sample (processing result) | |
Private Member Functions | |
GObject (GETModifierSeq) | |
This class defines a signal modifier that is a sequence of 2 other signal modifiers.
This class is obsolete since the GETProcessSerie has been added.
GETModifierSeq::GETModifierSeq | ( | GETSignalModifier * | p1 = NULL , |
GETSignalModifier * | p2 = NULL |
||
) |
Constructor. The pointers are adopted, and deleted with the class destructor.
p1 | first signal modifier |
p2 | second signal modifier |
References local_p1, local_p2, process1, process2, and SetProcess().
GETModifierSeq::GETModifierSeq | ( | GETSignalModifier & | p1, |
GETSignalModifier & | p2 | ||
) |
Constructor. The objects are not adopted, and left undestroyed by the class destructor.
p1 | first signal modifier |
p2 | second signal modifier |
References local_p1, local_p2, process1, process2, and SetProcess().
GETModifierSeq::GETModifierSeq | ( | const GETModifierSeq & | proc | ) |
Copy constructor.
proc | object to copy |
References GetProcess1(), GetProcess2(), IsProcess1Local(), IsProcess2Local(), local_p1, local_p2, process1, process2, and SetProcess().
|
virtual |
GETModifierSeq::ClassDef | ( | GETModifierSeq | , |
0 | |||
) |
for use within ROOT.
|
inline |
Return the pointer to the first signal modifier process.
References process1.
Referenced by GETModifierSeq().
|
inline |
Return the pointer to the first signal modifier process.
References process1.
|
inline |
Return the pointer to the second signal modifier process.
References process2.
Referenced by GETModifierSeq().
|
inline |
Return the pointer to the second signal modifier process.
References process2.
|
private |
Macro from GCpp library that defines the following functions:
|
inline |
Return true if the first signal modifier process is defined locally (adopted by the object).
References local_p1.
Referenced by GETModifierSeq().
|
inline |
Return true if the second signal modifier process is defined locally (adopted by the object).
References local_p2.
Referenced by GETModifierSeq().
|
virtual |
This function process the input sample channel and stores the result in the result sample (convolution or deconvolution of the response function, according to inv argument).
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.
References process1, process2, and GETSignalModifier::ProcessSample().
|
virtual |
Set a process: the pointer is adopted.
proc | pointer to the process |
References local_p1, local_p2, process1, and process2.
Referenced by GETModifierSeq().
|
virtual |
Set a process: the object is adopted.
proc | process object |
References GETProcess::GetDimension(), GETProcess::GetResultSample(), GETProcess::GetSamplingTime(), GETProcess::Init(), local_p1, local_p2, process1, and process2.