GET library
GETActarTpc.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETActarTpc.hh
3  *
4  * Include file for the GETActarTpc class.
5  */
6 //======================================================================
7 
8 #ifndef GET_ACTAR_TPC_HH
9 #define GET_ACTAR_TPC_HH
10 
11 //----------------------------------------------------------------------
12 #include "GETSystem.hh"
13 #include "GETHitMaskXY.hh"
14 
15 //======================================================================
16 /*! \class GETActarTpc
17  *
18  * This class defines a the GET system for the ACTAR TPC detectors.
19  *
20  * The GETActarTpc class proposes the allocation of histograms
21  * that can be filled automatically when a new event is read:
22  * - all channels sumary (raw data and/or after corrections)
23  * - amplitude and time pattern of pads signal.
24  * They require the look-up table to be defined (except for the raw
25  * data summary).
26  *
27  */
28 class GETActarTpc : public GETSystem
29 {
30  //------------------------------------------------------------
31  /*! \object_doc */
33  //------------------------------------------------------------
35 
36  protected:
37  GETHitMaskXY * pad_mask; ///< Pointer to the hit mask (same as base class hit mask, but known as GETHitMaskXY)
38 
39 
40  public:
41  //----------------------------------------------------------
42  /** @name Constructors, affectation, destructor */
43  //@{
44  GETActarTpc ( u_int nx = 0, u_int ny = 0, u_int dim = 0, double dt = 0.01L );
45  virtual ~GETActarTpc ( );
46  //@}
47 
48  //----------------------------------------------------------
49  /** @name System setting */
50  //@{
51  virtual int Init ( u_int nx, u_int ny, u_int n, double dt );
52  virtual GETHitMask * SetHitMask ( GETHitMaskXY * mask );
53  //@}
54 
55  //----------------------------------------------------------
56  /** @name Experimental data readout */
57  //@{
58  virtual int ExtractCoboFrame ( );
59  //@}
60 
61  //----------------------------------------------------------
62  /** @name Events information */
63  //@{
64  virtual GETChannel * GetMaxSignalChannel ( int * ipx = NULL, int * ipy = NULL, int * ipt = NULL );
65 
66  virtual int GetSignalBoundaries ( int & ixmin, int & ixmax,
67  int & iymin, int & iymax,
68  int & itmin, int & itmax );
69  virtual int GetSignalBoundaries ( double & xmin, double & xmax,
70  double & ymin, double & ymax,
71  double & tmin, double & tmax );
72  //@}
73 
74  //----------------------------------------------------------
75  /** @name ROOT related functions */
76  //@{
77  public:
78 
79  /*! for use within ROOT.*/
81  //@}
82 };
83 
84 
85 //----------------------------------------------------------------------
86 // Inline functions
87 #include "icc/GETActarTpc.icc"
88 
89 
90 //======================================================================
91 #endif
GObject(GETActarTpc)
Definition: GETChannel.hh:41
virtual int ExtractCoboFrame()
Definition: GETActarTpc.cpp:130
virtual int Init(u_int nx, u_int ny, u_int n, double dt)
Definition: GETActarTpc.cpp:69
virtual ~GETActarTpc()
Definition: GETActarTpc.cpp:50
Definition: GETHitMaskXY.hh:25
virtual double GetSignalSum(u_short info=GET::signalOut)
Definition: GETObject.cpp:189
Definition: GETHitMask.hh:29
GETHitMaskXY * pad_mask
Pointer to the hit mask (same as base class hit mask, but known as GETHitMaskXY)
Definition: GETActarTpc.hh:37
virtual int GetSignalBoundaries(int &ixmin, int &ixmax, int &iymin, int &iymax, int &itmin, int &itmax)
Definition: GETActarTpc.cpp:220
ClassDef(GETActarTpc, 0)
virtual GETHitMask * SetHitMask(GETHitMaskXY *mask)
Definition: GETActarTpc.cpp:110
virtual GETChannel * GetMaxSignalChannel(int *ipx=NULL, int *ipy=NULL, int *ipt=NULL)
Definition: GETActarTpc.cpp:183
Definition: GETActarTpc.hh:28
GETActarTpc(u_int nx=0, u_int ny=0, u_int dim=0, double dt=0.01L)
Definition: GETActarTpc.cpp:23
Definition: GETSystem.hh:126