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
e998f1eb
Commit
e998f1eb
authored
Mar 03, 2019
by
Reza ANSARI
Browse files
debug suite correction calcul amplitude auto-cor , Reza 03/03/2019
parent
cfc7c51f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
trkfit.cc
trkfit.cc
+3
-9
No files found.
trkfit.cc
View file @
e998f1eb
...
...
@@ -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
])
...
...
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