StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtContainers.h
1 #ifndef StFgtContainers_h
2 #define StFgtContainers_h
3 /*********************************************************************
4  * $Id: StFgtContainers.h,v 1.1 2011/04/07 19:31:22 balewski Exp $
5  *********************************************************************
6  * Description:
7  * STAR Forward Gem Tracker : intermediate data definitions
8  *********************************************************************
9  */
10 #include <TVector3.h>
11 class g2t_fgt_hit_st;
12 
13 //.... utility vector class for g2t hits
15  public:
16  TVector3 Rlab;// hit entrance in LAB
17  TVector3 Rloc, Dloc; // entrance & path in local ref frame
18  g2t_fgt_hit_st *hitPtr; // the oryginal g2t hit
19  int iQuad; // quadrant of the FGT DISK: [0-3]
20  void Clear() { Rlab=Rloc=Dloc=TVector3(0,0,0); hitPtr=0; iQuad=-1;}
21  fgt_g2t_auxil() { Clear();}
22 };
23 
24 //...... single strip response
25 class fgt_strip{// response of non-zero strips
26  public:
27  int id; // globalId = localId + strip_number*iqurd (iquad = 0-3) WMZ
28  float adc;
29 };
30 
31 //...... 1D clusters in one disk
33  public:
34  double fBin_mean; // centroid
35  int nbin; // total width in bin-units
36  double totAmpl, peakAmpl; // a.u. - measure of energy spread
37  //... secondary quantities
38  int iQuad;
39  double position; // (cm or rad ) LAB position after conversion
40  bool matched;
41  fgt_cluster1D() { matched=false; nbin=0; totAmpl=position=0;}
42 };
43 
44 #endif
.... utility c-struct for g2t hits
TVector3 Rloc
hit entrance in LAB
g2t_fgt_hit_st * hitPtr
entrance &amp; path in local ref frame