Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
BAORadio
AnaPAON4
Commits
29bfcf2c
Commit
29bfcf2c
authored
Mar 05, 2019
by
Reza ANSARI
Browse files
Correction MAJ xi2red mal fait, Reza
parent
9e8d7e8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
trkfit.cc
trkfit.cc
+4
-3
No files found.
trkfit.cc
View file @
29bfcf2c
...
...
@@ -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
.
GetCh
i2
R
ed
()
<<
" nstep="
<<
mFit
.
GetNStep
()
<<
" rc="
<<
rcfit
<<
endl
;
rcfit
=
mFit
.
doFit
();
xi2red
=
mFit
.
GetChi2Red
()
;
cout
<<
"------ Fit result Reduce_Chisquare = "
<<
x
i2
r
ed
<<
" nstep="
<<
mFit
.
GetNStep
()
<<
" rc="
<<
rcfit
<<
endl
;
if
(
_prtlevel_
>
1
)
mFit
.
PrintFit
();
for
(
size_t
j
=
0
;
j
<
4
;
j
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment