| 1014 |
int ngf = TrkParams::nGF; |
int ngf = TrkParams::nGF; |
| 1015 |
float* zgf = TrkParams::zGF; |
float* zgf = TrkParams::zGF; |
| 1016 |
|
|
| 1017 |
|
//this is a patch, to assign correctly xGF and yGF cordinates. |
| 1018 |
|
|
| 1019 |
Trajectory tj = Trajectory(ngf,zgf); |
Trajectory tj = Trajectory(ngf,zgf); |
| 1020 |
tj.DoTrack(al,zini); |
tj.DoTrack(al,zini); |
| 1021 |
|
|
| 1022 |
|
//NB the folowing assignment is NOT permanent!!! |
| 1023 |
|
for(int i=0; i<14; i++){ |
| 1024 |
|
xGF[i] = tj.x[i]; |
| 1025 |
|
yGF[i] = tj.y[i]; |
| 1026 |
|
} |
| 1027 |
|
|
| 1028 |
for(int i=0; i<ngf; i++){ |
for(int i=0; i<ngf; i++){ |
| 1029 |
// |
// |
| 1030 |
// cout << endl << TrkParams::GF_element[i]; |
// cout << endl << TrkParams::GF_element[i]; |