GET library
GETAutoBaselineHigh.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETAutoBaselineHigh.hh
3  *
4  * Include file for the GETAutoBaselineHigh class.
5  */
6 //======================================================================
7 
8 #ifndef GET_AUTO_BASELINE_HIGH_HH
9 #define GET_AUTO_BASELINE_HIGH_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETAutoBaseline.hh"
14 
15 //======================================================================
16 /*! \class GETAutoBaselineHigh
17  *
18  * This class defines an automatic base-line correction process.
19  *
20  * The automatic baseline computes an average at the end of the
21  * sample and subtract it from the signal.
22  */
24 {
25  //------------------------------------------------------------
26  /*! \object_doc */
28  //------------------------------------------------------------
29 
30  protected:
31 
32  public:
33  //----------------------------------------------------------
34  /** @name Constructors, affectation, destructor */
35  //@{
37  u_short num_hi = 0, u_short off_hi = 0 );
38  GETAutoBaselineHigh ( u_int n = 0, double dt = 0.01,
39  u_short num_hi = 0, u_short off_hi = 0 );
41  virtual ~GETAutoBaselineHigh ( );
42  //@}
43 
44  //----------------------------------------------------------
45  /** @name Signal processing */
46  //@{
47  virtual GETSample * ProcessSample ( GETSample & sample,
48  GETSample & result,
49  GETChannel & channel );
50  //@}
51 
52  //----------------------------------------------------------
53  /** @name ROOT related functions */
54  //@{
55  public:
56  /*! for use within ROOT.*/
58  //@}
59 };
60 
61 
62 //----------------------------------------------------------------------
63 // Inline functions
65 
66 
67 //======================================================================
68 #endif
ClassDef(GETAutoBaselineHigh, 0)
virtual GETSample * ProcessSample(GETSample &sample, GETSample &result, GETChannel &channel)
Definition: GETAutoBaselineHigh.cpp:77
Definition: GETAutoBaselineHigh.hh:23
virtual ~GETAutoBaselineHigh()
Definition: GETAutoBaselineHigh.cpp:48
Definition: GETChannel.hh:41
GObject(GETAutoBaselineHigh)
GETAutoBaselineHigh(GETObject &obj, u_short num_hi=0, u_short off_hi=0)
Definition: GETAutoBaselineHigh.cpp:23
Definition: GETObject.hh:38
RRealSampleFFT GETSample
Define the data type for samples.
Definition: GETCommon.hh:27
Definition: GETAutoBaseline.hh:24