GET library
GETFilterGaus.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETFilterGaus.hh
3  *
4  * Include file for the GETFilterGaus class.
5  */
6 //======================================================================
7 
8 #ifndef GET_FILTER_GAUS_HH
9 #define GET_FILTER_GAUS_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETFilterRef.hh"
14 
15 //======================================================================
16 /*! \class GETFilterGaus
17  *
18  * This class defines a filter adapted for Gauss signal.
19  *
20  * It is based on the optimal filter, considering constant noise
21  * spectral density, corresponding to the reference signal PSD at
22  * cut frequency (see figure for GETFilterRef).
23  *
24  */
26 {
27  //------------------------------------------------------------
28  /*! \object_doc */
30  //------------------------------------------------------------
31 
32  protected:
33  double ref_fwhm; ///< Reference signal width (FWHM)
34 
35  public:
36  //----------------------------------------------------------
37  /** @name Constructors, affectation, destructor */
38  //@{
39  GETFilterGaus ( u_int n = 0, double dt = 0.01L,
40  double fcut = 0.L, double wid = 0.L );
41  GETFilterGaus ( const GETFilterGaus & proc );
42  virtual ~GETFilterGaus ( );
43  //@}
44 
45 
46  //----------------------------------------------------------
47  /** @name Initialization functions */
48  //@{
49  virtual void Init ( u_int n, double dt );
50  virtual void SetReference ( double wid, double fcut = 0.L );
51  virtual void UpdateFilter ( );
52 
53  double GetReferenceFWHM ( ); // inline
54  //@}
55 
56  //----------------------------------------------------------
57  /** @name ROOT related functions */
58  //@{
59  public:
60 
61  /*! for use within ROOT.*/
63  //@}
64 };
65 
66 
67 //----------------------------------------------------------------------
68 // Inline functions
69 #include "icc/GETFilterGaus.icc"
70 
71 
72 //======================================================================
73 #endif
double ref_fwhm
Reference signal width (FWHM)
Definition: GETFilterGaus.hh:33
Definition: GETFilterGaus.hh:25
Definition: GETFilterRef.hh:30
GETFilterGaus(u_int n=0, double dt=0.01L, double fcut=0.L, double wid=0.L)
Definition: GETFilterGaus.cpp:20
ClassDef(GETFilterGaus, 0)
GObject(GETFilterGaus)
double GetReferenceFWHM()
Definition: GETFilterGaus.icc:9
virtual void UpdateFilter()
Definition: GETFilterGaus.cpp:79
virtual ~GETFilterGaus()
Definition: GETFilterGaus.cpp:38
virtual void Init(u_int n, double dt)
Definition: GETFilterGaus.cpp:51
virtual void SetReference(double wid, double fcut=0.L)
Definition: GETFilterGaus.cpp:66