| 939 |
for(int i=0; i<5; i++) al[i]=al_ini[i]; |
for(int i=0; i<5; i++) al[i]=al_ini[i]; |
| 940 |
} |
} |
| 941 |
|
|
| 942 |
|
|
| 943 |
|
//ELENA 2015 |
| 944 |
|
int ngf = TrkParams::nGF; |
| 945 |
|
float* zgf = TrkParams::zGF; |
| 946 |
|
Trajectory tj = Trajectory(ngf,zgf); |
| 947 |
|
tj.DoTrack(al,ZINI); |
| 948 |
|
for(int i=0; i<14; i++){ |
| 949 |
|
xGF[i] = tj.x[i]; |
| 950 |
|
yGF[i] = tj.y[i]; |
| 951 |
|
} |
| 952 |
|
if(ngf!=14){ |
| 953 |
|
cout << "TrkTrack::Fit("<<pfixed<<","<<fail<<","<<iprint<<","<<froml1<<"<<) "<<endl;; |
| 954 |
|
cout << "TrkParams::nGF = "<<TrkParams::nGF<<" != 14 "<<endl; |
| 955 |
|
cout << "back-incompatibility !?!?! acceptance check not reliable"<<endl; |
| 956 |
|
} |
| 957 |
|
|
| 958 |
|
|
| 959 |
|
|
| 960 |
}; |
}; |
| 961 |
/** |
/** |
| 962 |
* Reset the fit parameters |
* Reset the fit parameters |