00001
00002
00003
00004
00005
00006 #include <stdio.h>
00007 #include <math.h>
00008 #include "Stl3Util/gl3/gl3Track.h"
00009 #include "Stl3Util/gl3/gl3Histo.h"
00010
00011
00012 #define toDeg 57.295779513
00013
00014 #ifndef GL3SECTOR
00015 #define GL3SECTOR
00016
00017 class gl3Sector {
00018 public:
00019 short id ;
00020 short filled ;
00021 unsigned int nHits ;
00022 unsigned int nTracks ;
00023 unsigned int cpuTime ;
00024 unsigned int realTime ;
00025 float xVert ;
00026 float yVert ;
00027 float zVert ;
00028 float rVert ;
00029 float phiVert ;
00030
00031 gl3Histo* hPt ;
00032 gl3Histo* hPsi ;
00033 gl3Histo* hEta ;
00034 gl3Histo* hR0 ;
00035 gl3Histo* hZ0 ;
00036 gl3Histo* hPhi0 ;
00037 gl3Histo* hNHitsTrack ;
00038 gl3Histo* hNHitsSector ;
00039 gl3Histo* hNTracks ;
00040 gl3Histo* hRealTime ;
00041 gl3Histo* hCpuTime ;
00042
00043 void print ( ) {
00044 fprintf ( stdout, " filled %d nHits %d nTracks %d \n", filled, nHits, nTracks ) ;
00045 fprintf ( stdout, " Times: real %d (us) cpu %d (us) \n", realTime, cpuTime ) ;
00046 fprintf ( stdout, " Vertex: (x,y,z)=(%f,%f,%f)\n", xVert, yVert, zVert ) ;
00047 };
00048 };
00049 #endif
00050