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 class GETActarTpc : public GETSystem
28 {
29  //------------------------------------------------------------
30  /*! \object_doc */
32  //------------------------------------------------------------
34 
35  friend class GETHitMaskXY;
36 
37  protected:
38  GETHitMaskXY * pad_mask; ///< Pointer to the hit mask (same as base class hit mask, but known as GETHitMaskXY)
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  const GETHitMaskXY * GetPadMask ( ) const; // inline
54  GETHitMaskXY * GetPadMask ( ); // inline
55  //@}
56 
57  //----------------------------------------------------------
58  /** @name Experimental data readout */
59  //@{
60  virtual int ExtractCoboFrame ( );
61  //@}
62 
63 
64  //----------------------------------------------------------
65  /** @name Events information */
66  //@{
67  virtual GETChannel * GetMaxSignalChannel ( int * ipx = NULL, int * ipy = NULL, int * ipt = NULL );
68 
69  virtual int GetSignalBoundaries ( int & ixmin, int & ixmax,
70  int & iymin, int & iymax,
71  int & itmin, int & itmax ); // inline
72  virtual int GetSignalBoundaries ( int & ixmin, int & ixmax,
73  int & iymin, int & iymax ); // inline
74 
75  virtual int GetSignalBoundaries ( double & xmin, double & xmax,
76  double & ymin, double & ymax,
77  double & tmin, double & tmax );
78  virtual int GetSignalBoundaries ( double & xmin, double & xmax,
79  double & ymin, double & ymax);
80  //@}
81 
82  //----------------------------------------------------------
83  /** @name ROOT related functions */
84  //@{
85  public:
86 
87  /*! for use within ROOT.*/
89  //@}
90 };
91 
92 
93 //----------------------------------------------------------------------
94 // Inline functions
95 #include "icc/GETActarTpc.icc"
96 
97 
98 //======================================================================
99 #endif
int itmax
Upper bin on T axis.
Definition: GETHitMaskXY.hh:46
GObject(GETActarTpc)
Definition: GETChannel.hh:41
int ixmin
Lower bin on X axis.
Definition: GETHitMaskXY.hh:41
int iymax
Upper bin on Y axis.
Definition: GETHitMaskXY.hh:44
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
const GETHitMaskXY * GetPadMask() const
Definition: GETActarTpc.icc:10
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:38
virtual int GetSignalBoundaries(int &ixmin, int &ixmax, int &iymin, int &iymax, int &itmin, int &itmax)
Definition: GETActarTpc.icc:32
int iymin
Lower bin on Y axis.
Definition: GETHitMaskXY.hh:43
ClassDef(GETActarTpc, 0)
virtual GETHitMask * SetHitMask(GETHitMaskXY *mask)
Definition: GETActarTpc.cpp:110
int ixmax
Upper bin on X axis.
Definition: GETHitMaskXY.hh:42
virtual GETChannel * GetMaxSignalChannel(int *ipx=NULL, int *ipy=NULL, int *ipt=NULL)
Definition: GETActarTpc.cpp:190
Definition: GETActarTpc.hh:27
GETActarTpc(u_int nx=0, u_int ny=0, u_int dim=0, double dt=0.01L)
Definition: GETActarTpc.cpp:23
Definition: GETSystem.hh:147
int itmin
Lower bin on T axis.
Definition: GETHitMaskXY.hh:45