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

Amelioration prints , Reza 22/12/2018

parent 76f0a7b7
......@@ -558,15 +558,15 @@ int do_p4_cxtrkfit(vector< vector<double> > & v_time_data, vector< vector< vecto
}
}
mFit.SetParam(0,"Phase",bestphase,M_PI/720.,0.,2.2*M_PI);
cout << "2."<<ii+1<<" bestxi2="<<bestxi2<<" bestphase="<<Angle(bestphase).ToDegree()
cout << "2."<<ii+1<<" Scan param bestxi2_red="<<bestxi2/(double)(tot_npoints-(1+NTRK))<<" bestphase="<<Angle(bestphase).ToDegree()
<<" bestnpts="<<bestnpts<<" bestafact="<<bestafact<< " A= ";
v_phase[ii]=bestphase;
for(size_t j=0; j<NTRK; j++) {
cout << v_amp[j] << " , "; cout << endl;
cout << v_amp[j] << " , ";
double Aac=sqrt(v_A[j][Anum1[ii]] * v_A[j][Anum2[ii]]);
v_Acx[ii][j]=v_amp[j];
v_Acx[ii][j]=(useAac?Aac:v_amp[j]);
}
cout << endl;
for(size_t j=0; j<NTRK; j++) {
char pname[32];
sprintf(pname,"A%d",(int)(j+1));
......
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