GET library
GETAutoBaselineLow.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETAutoBaselineLow.hh
3  *
4  * Include file for the GETAutoBaselineLow class.
5  */
6 //======================================================================
7 
8 #ifndef GET_AUTO_BASELINE_LOW_HH
9 #define GET_AUTO_BASELINE_LOW_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETAutoBaseline.hh"
14 
15 //======================================================================
16 /*! \class GETAutoBaselineLow
17  *
18  * This class defines an automatic base-line correction process.
19  *
20  * The automatic baseline computes an average at the beginning 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_lo = 0, u_short off_lo = 0 );
38  GETAutoBaselineLow ( u_int n = 0, double dt = 0.01,
39  u_short num_lo = 0, u_short off_lo = 0 );
40  GETAutoBaselineLow ( const GETAutoBaselineLow & proc );
41  virtual ~GETAutoBaselineLow ( );
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(GETAutoBaselineLow, 0)
virtual ~GETAutoBaselineLow()
Definition: GETAutoBaselineLow.cpp:48
Definition: GETChannel.hh:41
virtual GETSample * ProcessSample(GETSample &sample, GETSample &result, GETChannel &channel)
Definition: GETAutoBaselineLow.cpp:77
Definition: GETAutoBaselineLow.hh:23
Definition: GETObject.hh:38
RRealSampleFFT GETSample
Define the data type for samples.
Definition: GETCommon.hh:27
GETAutoBaselineLow(GETObject &obj, u_short num_lo=0, u_short off_lo=0)
Definition: GETAutoBaselineLow.cpp:23
Definition: GETAutoBaseline.hh:24
GObject(GETAutoBaselineLow)