GET library
GETFilterCut.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETFilterCut.hh
3  *
4  * Include file for the GETFilterCut class.
5  */
6 //======================================================================
7 
8 #ifndef GET_FILTER_CUT_HH
9 #define GET_FILTER_CUT_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETFilter.hh"
14 #include "GETObject.hh"
15 
16 //======================================================================
17 /*! \class GETFilterCut
18  *
19  * This class defines a sharp cut filter.
20  */
21 class GETFilterCut : public GETFilter
22 {
23  //------------------------------------------------------------
24  /*! \object_doc */
26  //------------------------------------------------------------
27 
28  protected:
29 
30  double cut_frequency; ///< Filter cut frequency
31 
32  public:
33  //----------------------------------------------------------
34  /** @name Constructors, affectation, destructor */
35  //@{
36  GETFilterCut ( GETObject & obj, double fcut = 0. );
37  GETFilterCut ( u_int n = 0, double dt = 0.01, double fcut = 0. );
38  GETFilterCut ( const GETFilterCut & proc );
39  virtual ~GETFilterCut ( );
40  //@}
41 
42 
43  //----------------------------------------------------------
44  /** @name Initialization functions */
45  //@{
46  virtual void SetCutFrequency ( double fcut );
47  double GetCutFrequency ( ) const; // inline
48 
49  virtual void Init ( u_int n, double dt );
50 
51  virtual void UpdateFilter ( );
52 
53  //@}
54 
55  //----------------------------------------------------------
56  /** @name ROOT related functions */
57  //@{
58  public:
59 
60  /*! for use within ROOT.*/
62  //@}
63 };
64 
65 
66 //----------------------------------------------------------------------
67 // Inline functions
68 #include "icc/GETFilterCut.icc"
69 
70 
71 //======================================================================
72 #endif
Definition: GETFilter.hh:21
double GetCutFrequency() const
Definition: GETFilterCut.icc:9
virtual void Init(u_int n, double dt)
Definition: GETFilterCut.cpp:68
GETFilterCut(GETObject &obj, double fcut=0.)
Definition: GETFilterCut.cpp:20
virtual void SetCutFrequency(double fcut)
Definition: GETFilterCut.cpp:81
Definition: GETObject.hh:38
virtual ~GETFilterCut()
Definition: GETFilterCut.cpp:55
GObject(GETFilterCut)
double cut_frequency
Filter cut frequency.
Definition: GETFilterCut.hh:30
ClassDef(GETFilterCut, 0)
virtual void UpdateFilter()
Definition: GETFilterCut.cpp:91
Definition: GETFilterCut.hh:21