Commit 2d0f9bc4 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

ELTimepix3: end run when first detector runs out

parent 4f513958
Pipeline #574212 passed with stages
in 9 minutes and 22 seconds
...@@ -230,9 +230,9 @@ StatusCode EventLoaderTimepix3::run(Clipboard* clipboard) { ...@@ -230,9 +230,9 @@ StatusCode EventLoaderTimepix3::run(Clipboard* clipboard) {
LOG(TRACE) << "== New event"; LOG(TRACE) << "== New event";
// If all files for this detector have been read, ignore it: // If all files for this detector have been read, end the run:
if(m_file_iterator == m_files.end()) { if(m_file_iterator == m_files.end()) {
return NoData; return Failure;
} }
// Make a new container for the data // Make a new container for the data
......
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