StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gl3Hit.h
1 //:>------------------------------------------------------------------
2 //: FILE: gl3Hit.h
3 //: HISTORY:
4 //: 4apr2000 first version
5 //: 28jun2000 add Coordinate Transformer class
6 //:<------------------------------------------------------------------
7 #ifndef GL3HIT
8 #define GL3HIT
9 #include <stdio.h>
10 #include <math.h>
11 #include "Stl3Util/base/St_l3_Coordinate_Transformer.h"
12 #include "daqFormats.h"
13 #include "L3Formats.h"
14 
15 
16 
17 class gl3Hit {
18 private:
19  short rowSector ;
20  char mezzanninneCard ;
21  char readoutBoard ;
22  unsigned short charge ;
23  unsigned short flags ;
24  float x ;
25  float y ;
26  float z ;
27 public:
28  int trackId ;
29  void* nextHit ;
30  float getX ( ) { return x ; } ;
31  float getY ( ) { return y ; } ;
32  float getZ ( ) { return z ; } ;
33  short getRowSector ( ) { return rowSector ; } ;
34  unsigned short getCharge ( ) { return charge ; } ;
35  unsigned short getFlags ( ) { return flags ; } ;
36  int getTrackId ( ) { return trackId ; } ;
37  void* getNextHit ( ) { return nextHit ; } ;
38  int set ( St_l3_Coordinate_Transformer* transformer,
39  int sector, l3_cluster* cluster ) ;
40  void print ( ) ;
41 };
42 #endif
Definition: gl3Hit.h:24