Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
a582e4b2
Commit
a582e4b2
authored
Sep 11, 2019
by
Jens Kroeger
Browse files
EventLoaderATLASpix: removed code block at beginning of run() which returns EOF too early
parent
8ede1fda
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderATLASpix/EventLoaderATLASpix.cpp
View file @
a582e4b2
...
...
@@ -189,13 +189,6 @@ StatusCode EventLoaderATLASpix::run(std::shared_ptr<Clipboard> clipboard) {
}
auto
event
=
clipboard
->
get_event
();
// If have reached the end of file, close it and exit program running
if
(
m_file
.
eof
())
{
m_file
.
close
();
LOG
(
DEBUG
)
<<
"Returning <Failure> status, ATLASPix data file reached the end."
;
return
StatusCode
::
Failure
;
}
double
start_time
=
event
->
start
();
double
end_time
=
event
->
end
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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