GET library
GETFilterShift.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETFilterShift.hh
3  *
4  * Include file for the GETFilterShift class.
5  */
6 //======================================================================
7 
8 #ifndef GET_FILTER_SHIFT_HH
9 #define GET_FILTER_SHIFT_HH
10 
11 //----------------------------------------------------------------------
12 
13 #include "GETFilter.hh"
14 #include "GETObject.hh"
15 
16 //======================================================================
17 /*! \class GETFilterShift
18  *
19  * This class defines a filter that shifts the signal from a time offset.
20  */
21 class GETFilterShift : public GETFilter
22 {
23  //------------------------------------------------------------
24  /*! \object_doc */
26  //------------------------------------------------------------
27 
28  protected:
29 
30  double time_shift; ///< Time offset
31 
32  public:
33  //----------------------------------------------------------
34  /** @name Constructors, affectation, destructor */
35  //@{
36  GETFilterShift ( GETObject & obj, double off = 0. );
37  GETFilterShift ( u_int n = 0, double dt = 0.01, double off = 0. );
38  GETFilterShift ( const GETFilterShift & proc );
39  virtual ~GETFilterShift ( );
40  //@}
41 
42 
43  //----------------------------------------------------------
44  /** @name Initialization functions */
45  //@{
46  virtual void SetTimeShift ( double off );
47  double GetTimeShift ( ) 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/GETFilterShift.icc"
69 
70 
71 //======================================================================
72 #endif
virtual void UpdateFilter()
Definition: GETFilterShift.cpp:91
virtual void Init(u_int n, double dt)
Definition: GETFilterShift.cpp:68
Definition: GETFilter.hh:21
ClassDef(GETFilterShift, 0)
double time_shift
Time offset.
Definition: GETFilterShift.hh:30
double GetTimeShift() const
Definition: GETFilterShift.icc:9
virtual ~GETFilterShift()
Definition: GETFilterShift.cpp:55
GObject(GETFilterShift)
Definition: GETFilterShift.hh:21
Definition: GETObject.hh:38
GETFilterShift(GETObject &obj, double off=0.)
Definition: GETFilterShift.cpp:20
virtual void SetTimeShift(double off)
Definition: GETFilterShift.cpp:81