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