Commit e998f1eb authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

debug suite correction calcul amplitude auto-cor , Reza 03/03/2019

parent cfc7c51f
......@@ -540,15 +540,9 @@ int ACxSetFitter::doACfit(string outfilename)
ofr <<setw(8)<<azimdeg<<" "<<setw(8)<<err_azimdeg<<" ";
//DEL jj=0;
for(size_t j=0; j<NTRK; j++) {
double A = acxd_.v_max_data[j][ii];
double B = acxd_.v_min_data[j][ii];
double err_A = 0.;
double err_B = 0.;
if (!acxd_.v_noAC[j]) {
A=mFit.GetParm(3+2*j); err_A=mFit.GetParmErr(3+2*j);
B=mFit.GetParm(4+2*j); err_B=mFit.GetParmErr(4+2*j);
// jj++;
}
double A=1.,B=0.,err_A=0.,err_B=0.;
A=mFit.GetParm(3+2*j); err_A=mFit.GetParmErr(3+2*j);
B=mFit.GetParm(4+2*j); err_B=mFit.GetParmErr(4+2*j);
v_A[ii][j]=A; v_err_A[ii][j]=err_A; v_B[ii][j]=B; v_err_B[ii][j]=err_B;
cout << " Trk/Sat["<<j<<"] -> A= "<<A<<" +/- "<<err_A<<" B= "<<B<<" +/- "<<err_B<<(acxd_.v_noAC[j]?" FIXED":"")<<endl;
if (acxd_.v_noAC[j])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment