GET library
GETFilterSmooth.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETFilterSmooth.hh
3  *
4  * Include file for the GETFilterSmooth class.
5  */
6 //======================================================================
7 
8 #ifndef GET_FILTER_SMOOTH_HH
9 #define GET_FILTER_SMOOTH_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETFilter.hh"
14 #include "GETObject.hh"
15 
16 //======================================================================
17 /*! \class GETFilterSmooth
18  *
19  * This class defines a smoothing filter by convolution with a
20  * Gauss function.
21  */
22 class GETFilterSmooth : public GETFilter
23 {
24  //------------------------------------------------------------
25  /*! \object_doc */
27  //------------------------------------------------------------
28 
29  protected:
30 
31  double fwhm; ///< Gauss function FWHM
32 
33  public:
34  //----------------------------------------------------------
35  /** @name Constructors, affectation, destructor */
36  //@{
37  GETFilterSmooth ( GETObject & obj, double wid = 0.1 );
38  GETFilterSmooth ( u_int n = 0, double dt = 0.01, double wid = 0.1 );
39  GETFilterSmooth ( const GETFilterSmooth & proc );
40  virtual ~GETFilterSmooth ( );
41  //@}
42 
43 
44  //----------------------------------------------------------
45  /** @name Initialization functions */
46  //@{
47  virtual void SetWidth ( double wid );
48  double GetWidth ( ) const; // inline
49  virtual void SetSigma ( double sig );
50  double GetSigma ( ) const; // inline
51 
52  virtual void Init ( u_int n, double dt );
53 
54  virtual void UpdateFilter ( );
55 
56  //@}
57 
58  //----------------------------------------------------------
59  /** @name ROOT related functions */
60  //@{
61  public:
62 
63  /*! for use within ROOT.*/
65  //@}
66 };
67 
68 
69 //----------------------------------------------------------------------
70 // Inline functions
71 #include "icc/GETFilterSmooth.icc"
72 
73 
74 //======================================================================
75 #endif
Definition: GETFilterSmooth.hh:22
Definition: GETFilter.hh:21
virtual void SetSigma(double sig)
Definition: GETFilterSmooth.cpp:93
virtual void UpdateFilter()
Definition: GETFilterSmooth.cpp:103
double fwhm
Gauss function FWHM.
Definition: GETFilterSmooth.hh:31
virtual void Init(u_int n, double dt)
Definition: GETFilterSmooth.cpp:68
double GetWidth() const
Definition: GETFilterSmooth.icc:9
Definition: GETObject.hh:38
GObject(GETFilterSmooth)
virtual ~GETFilterSmooth()
Definition: GETFilterSmooth.cpp:55
ClassDef(GETFilterSmooth, 0)
double GetSigma() const
Definition: GETFilterSmooth.icc:13
virtual void SetWidth(double wid)
Definition: GETFilterSmooth.cpp:81
GETFilterSmooth(GETObject &obj, double wid=0.1)
Definition: GETFilterSmooth.cpp:20