Commit a582e4b2 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventLoaderATLASpix: removed code block at beginning of run() which returns EOF too early

parent 8ede1fda
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment