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
808d7cd2
Commit
808d7cd2
authored
Jul 05, 2019
by
Jérémie Dudouet
Browse files
corr ShiftTrack
parent
6522de84
Pipeline
#36640
passed with stage
in 6 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
src/root/gui/fipps_spy/src/FSMainWindow.cpp
src/root/gui/fipps_spy/src/FSMainWindow.cpp
+10
-3
No files found.
src/root/gui/fipps_spy/src/FSMainWindow.cpp
View file @
808d7cd2
...
...
@@ -501,14 +501,21 @@ void FSMainWindow::GetLastShiftTrack()
if
(
Buffer
.
BeginsWith
(
"#"
)
||
Buffer
.
Length
()
==
0
)
continue
;
TObjArray
*
loa
=
Buffer
.
ReplaceAll
(
"
\t
"
,
" "
).
Tokenize
(
" "
);
if
(
loa
->
GetEntries
()
!=
2
)
{
if
(
loa
->
GetEntries
()
==
2
)
{
fListOfShiftTrack
[
linenb
-
1
][
0
]
=
((
TString
)
loa
->
At
(
0
)
->
GetName
()).
Atof
();
fListOfShiftTrack
[
linenb
-
1
][
1
]
=
((
TString
)
loa
->
At
(
1
)
->
GetName
()).
Atof
();
}
else
if
(
loa
->
GetEntries
()
==
3
)
{
fListOfShiftTrack
[
linenb
-
1
][
0
]
=
((
TString
)
loa
->
At
(
1
)
->
GetName
()).
Atof
();
fListOfShiftTrack
[
linenb
-
1
][
1
]
=
((
TString
)
loa
->
At
(
2
)
->
GetName
()).
Atof
();
}
else
{
WARN_MESS
<<
"Error in "
<<
FileName
<<
" at line "
<<
linenb
<<
" ; bad number of parameters ==> file ignored"
<<
ENDL
;
FileConf
.
close
();
return
;
}
fListOfShiftTrack
[
linenb
-
1
][
0
]
=
((
TString
)
loa
->
At
(
0
)
->
GetName
()).
Atof
();
fListOfShiftTrack
[
linenb
-
1
][
1
]
=
((
TString
)
loa
->
At
(
1
)
->
GetName
()).
Atof
();
// cout<<linenb-1<<" "<<fListOfShiftTrack[linenb-1][0]<<" "<<fListOfShiftTrack[linenb-1][1]<<endl;
delete
loa
;
...
...
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