Commit 7bb2abbb authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Debug Extension intervalle de fit de phase, Reza 23/12/2018

parent dd08bcda
......@@ -593,7 +593,7 @@ int do_p4_cxtrkfit(vector< vector<double> > & v_time_data, vector< vector< vecto
ofr <<setw(4)<<ii+1<<" "<<setw(8)<<mFit.GetChi2Red()<<" ";
double phase=mFit.GetParm(0); double err_phase=mFit.GetParmErr(0);
if (phase<0.) phase += 2.*M_PI;
if (phase<2.*M_PI) phase -= 2.*M_PI;
if (phase>2.*M_PI) phase -= 2.*M_PI;
cout <<"Phase= "<<setw(10)<<Angle(phase).ToDegree()<<" +/- "<<setw(10)<<Angle(err_phase).ToDegree()<<" deg."<<endl;
ofr <<setw(8)<<Angle(phase).ToDegree()<<" "<<setw(8)<<Angle(err_phase).ToDegree()<<" ";
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