Commit 29bfcf2c authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Correction MAJ xi2red mal fait, Reza

parent 9e8d7e8f
......@@ -1073,10 +1073,11 @@ int CxBaselineFitter::dofit(string outfilename, int fgfixbaseline, bool fgphi0on
}
int ndataused=0;
xi2redini=gxi2.getXi2(bestfitparam, ndataused);
cout << " Xi2Red value for the initial parameters guess= " <<xi2redini/(double)ndataused<<endl;
xi2redini/=(double)ndataused;
cout << " Xi2Red value for the initial parameters guess= " <<xi2redini<<endl;
cout << " Performing the fit (tot_npoints_fit= "<<tot_npoints_fit<<" ?= (npoints2="<<npoints2<<") ..."<< endl;
rcfit = mFit.doFit(); xi2red=-99999.;
cout<< "------ Fit result Reduce_Chisquare = " << mFit.GetChi2Red()<< " nstep="<<mFit.GetNStep() << " rc="<<rcfit<<endl;
rcfit = mFit.doFit(); xi2red=mFit.GetChi2Red();
cout<< "------ Fit result Reduce_Chisquare = " << xi2red<< " nstep="<<mFit.GetNStep() << " rc="<<rcfit<<endl;
if (_prtlevel_>1) mFit.PrintFit();
for(size_t j=0; j<4; 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