10 #include "Stl3Util/foreign/daqFormats.h"
11 #include "Stl3Util/ftf/FtfBaseTrack.h"
12 #include "Stl3Util/gl3/gl3Hit.h"
24 inline virtual void nextHit (){ currentHit = ((
gl3Hit *)currentHit)->nextHit ; } ;
27 void dropHits (
int rest,
int rowMin,
int rowMax ) ;
29 void Print (
int level ) ;
35 float theta = atan2(1.,(
double)tanl);
36 float rEta = -1. * log (tan(theta/2.)) ;
43 float gl3ToDeg = 180./acos(-1.);
44 printf (
"pt %f tanl %f psi %f r0 %f z0 %f phi0 %f nHits %d\n",
45 pt, tanl, psi, r0, z0, phi0*gl3ToDeg, nHits ) ;
54 chi2[0] = float(trk->xy_chisq)/10. ;
55 chi2[1] = float(trk->sz_chisq)/10. ;
62 length = trk->trackLength ;
63 innerMostRow= trk->innerMostRow ;
64 outerMostRow= trk->outerMostRow ;
66 q = (short )(trk->pt/fabs(trk->pt)) ;
68 dpt = float(trk->dpt)/32768. * pt ;
69 dpsi = DecompressOver1(trk->dpsi,psi);
70 dtanl = DecompressOver1(trk->dtanl,tanl)/64.;
71 dz0 = float(trk->dz0)/1024. ;
78 if ( dpt == 0 ) dpt = 1.e-5 * pt ;
79 if ( dpsi == 0 ) dpsi = 1.e-5 ;
80 if ( dtanl == 0 ) dtanl = 1.e-5 ;
81 if ( dz0 == 0 ) dz0 = 1.e-3 ;
void print()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
void set(short sectorIn, local_track *trk)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
float getRealEta()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!