GET library
GETFilterModifier.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETFilterModifier.hh
3  *
4  * Include file for the GETFilterModifier class.
5  */
6 //======================================================================
7 
8 #ifndef GET_FILTER_MODIFIER_HH
9 #define GET_FILTER_MODIFIER_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETSignalModifier.hh"
14 #include "GETFilter.hh"
15 
16 //======================================================================
17 /*! \class GETFilterModifier
18  *
19  * This class defines a signal correction process using a filter
20  * process.
21  *
22  * It can then be used to apply a filter, considered as output signal
23  * correction.
24  */
26 {
27  //------------------------------------------------------------
28  /*! \object_doc */
30  //------------------------------------------------------------
31 
32  protected:
33  GETFilter * filter; ///< Pointer to the filter process
34 
35  public:
36  //----------------------------------------------------------
37  /** @name Constructors, affectation, destructor */
38  //@{
40  GETFilter * filt = NULL );
41  GETFilterModifier ( u_int n = 0, double dt = 0.01,
42  GETFilter * filt = NULL );
43  GETFilterModifier ( const GETFilterModifier & proc );
44  virtual ~GETFilterModifier ( );
45  //@}
46 
47  //----------------------------------------------------------
48  /** @name Process parameters */
49  //@{
50  virtual void SetFilter ( GETFilter * filt );
51  virtual const GETFilter * GetFilter ( ) const; // inline
52  virtual GETFilter * GetFilter ( ); // inline
53 
54  //@}
55 
56  //----------------------------------------------------------
57  /** @name Signal processing */
58  //@{
59  virtual GETSample * ProcessSample ( GETSample & sample,
60  GETSample & result,
61  GETChannel & channel );
62  //@}
63 
64  //----------------------------------------------------------
65  /** @name ROOT related functions */
66  //@{
67  public:
68  /*! for use within ROOT.*/
70  //@}
71 };
72 
73 
74 //----------------------------------------------------------------------
75 // Inline functions
77 
78 
79 //======================================================================
80 #endif
Definition: GETFilter.hh:21
Definition: GETChannel.hh:41
GETFilter * filter
Pointer to the filter process.
Definition: GETFilterModifier.hh:33
GETFilterModifier(GETObject &obj, GETFilter *filt=NULL)
Definition: GETFilterModifier.cpp:22
Definition: GETFilterModifier.hh:25
virtual GETSample * ProcessSample(GETSample &sample, GETSample &result, GETChannel &channel)
Definition: GETFilterModifier.cpp:96
Definition: GETObject.hh:38
GObject(GETFilterModifier)
virtual const GETFilter * GetFilter() const
Definition: GETFilterModifier.icc:13
RRealSampleFFT GETSample
Define the data type for samples.
Definition: GETCommon.hh:27
virtual ~GETFilterModifier()
Definition: GETFilterModifier.cpp:52
ClassDef(GETFilterModifier, 0)
Definition: GETSignalModifier.hh:22
virtual void SetFilter(GETFilter *filt)
Definition: GETFilterModifier.cpp:63