StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gl3Sector.h
1 //:>------------------------------------------------------------------
2 //: FILE: gl3Sector.h
3 //: HISTORY:
4 //: 7jan2000 version 1.00
5 //:<------------------------------------------------------------------
6 #include <stdio.h>
7 #include <math.h>
8 #include "Stl3Util/gl3/gl3Track.h"
9 #include "Stl3Util/gl3/gl3Histo.h"
10 //#include "l3List.h"
11 
12 #define toDeg 57.295779513
13 
14 #ifndef GL3SECTOR
15 #define GL3SECTOR
16 
17 class gl3Sector {
18 public:
19  short id ;
20  short filled ;
21  unsigned int nHits ;
22  unsigned int nTracks ;
23  unsigned int cpuTime ;
24  unsigned int realTime ;
25  float xVert ;
26  float yVert ;
27  float zVert ;
28  float rVert ;
29  float phiVert ;
30 //
31  gl3Histo* hPt ;
32  gl3Histo* hPsi ;
33  gl3Histo* hEta ;
34  gl3Histo* hR0 ;
35  gl3Histo* hZ0 ;
36  gl3Histo* hPhi0 ;
37  gl3Histo* hNHitsTrack ;
38  gl3Histo* hNHitsSector ;
39  gl3Histo* hNTracks ;
40  gl3Histo* hRealTime ;
41  gl3Histo* hCpuTime ;
42  //
43  void print ( ) {
44  fprintf ( stdout, " filled %d nHits %d nTracks %d \n", filled, nHits, nTracks ) ;
45  fprintf ( stdout, " Times: real %d (us) cpu %d (us) \n", realTime, cpuTime ) ;
46  fprintf ( stdout, " Vertex: (x,y,z)=(%f,%f,%f)\n", xVert, yVert, zVert ) ;
47  };
48 };
49 #endif
50