GET library
GETBaselineCorrection.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETBaselineCorrection.hh
3  *
4  * Include file for the GETBaselineCorrection class.
5  */
6 //======================================================================
7 
8 #ifndef GET_BASELINE_CORRECTION_HH
9 #define GET_BASELINE_CORRECTION_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETSignalModifier.hh"
14 
15 //======================================================================
16 /*! \class GETBaselineCorrection
17  *
18  * This class defines a base-line correction process, acting as an
19  * output noise process.
20  *
21  */
23 {
24  //------------------------------------------------------------
25  /*! \object_doc */
27  //------------------------------------------------------------
28 
29  protected:
30  GETSample baseline; ///< Baseline sample data
31 
32  public:
33  //----------------------------------------------------------
34  /** @name Constructors, affectation, destructor */
35  //@{
37  GETBaselineCorrection ( u_int n = 0, double dt = 0.01 );
38  GETBaselineCorrection ( const GETSample & ped );
40  virtual ~GETBaselineCorrection ( );
41  //@}
42 
43  //----------------------------------------------------------
44  /** @name Process parameters */
45  //@{
46  const GETSample & GetBaseline ( ) const; // inline
47  GETSample & GetBaseline ( ); // inline
48  virtual void SetBaseline ( const GETSample & ped ); // inline
49  //@}
50 
51  //----------------------------------------------------------
52  /** @name Signal processing */
53  //@{
54  virtual GETSample * ProcessSample ( GETSample & sample,
55  GETSample & result,
56  GETChannel & channel );
57  //@}
58 
59  //----------------------------------------------------------
60  /** @name ROOT related functions */
61  //@{
62  public:
63  /*! for use within ROOT.*/
65  //@}
66 };
67 
68 
69 //----------------------------------------------------------------------
70 // Inline functions
72 
73 
74 //======================================================================
75 #endif
GObject(GETBaselineCorrection)
Definition: GETChannel.hh:41
ClassDef(GETBaselineCorrection, 0)
GETBaselineCorrection(GETObject &obj)
Definition: GETBaselineCorrection.cpp:21
Definition: GETObject.hh:38
const GETSample & GetBaseline() const
Definition: GETBaselineCorrection.icc:10
virtual ~GETBaselineCorrection()
Definition: GETBaselineCorrection.cpp:57
GETSample baseline
Baseline sample data.
Definition: GETBaselineCorrection.hh:30
RRealSampleFFT GETSample
Define the data type for samples.
Definition: GETCommon.hh:27
Definition: GETBaselineCorrection.hh:22
virtual void SetBaseline(const GETSample &ped)
Definition: GETBaselineCorrection.icc:20
Definition: GETSignalModifier.hh:22
virtual GETSample * ProcessSample(GETSample &sample, GETSample &result, GETChannel &channel)
Definition: GETBaselineCorrection.cpp:86