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
IPNL_GAMMA
gammaware
Commits
d57577fa
Commit
d57577fa
authored
Jul 05, 2019
by
Jérémie Dudouet
Browse files
corr bug no shifttrack
parent
808d7cd2
Pipeline
#36644
passed with stage
in 4 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/root/gui/fipps_spy/src/FSMainWindow.cpp
src/root/gui/fipps_spy/src/FSMainWindow.cpp
+1
-0
No files found.
src/root/gui/fipps_spy/src/FSMainWindow.cpp
View file @
d57577fa
...
...
@@ -802,6 +802,7 @@ void FSMainWindow::DoCalMode(Bool_t on)
if
(
on
==
false
)
Bins
[
i
]
=
i
*
h
->
GetBinWidth
(
1
);
else
{
Double_t
ERaw
=
fListOfShiftTrack
[
itr
->
first
][
0
]
+
fListOfShiftTrack
[
itr
->
first
][
1
]
*
((
Double_t
)
i
*
h
->
GetBinWidth
(
1
));
if
(
fListOfShiftTrack
[
itr
->
first
][
1
]
<
0.1
)
ERaw
=
fListOfShiftTrack
[
itr
->
first
][
0
]
+
0.0001
*
((
Double_t
)
i
*
h
->
GetBinWidth
(
1
));
Double_t
ECal
=
0
;
for
(
int
j
=
0
;
j
<
fCalOrder
;
j
++
)
ECal
+=
fListOfCal
[
itr
->
first
][
j
]
*
TMath
::
Power
(
ERaw
,
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