Follow-up from "Introduced infrastructure to read ROOT files in algorithms (allowing MT)" : use HltEventLoopManager rather than exception for end of file
The following discussion from !2993 (merged) should be addressed:
-
@clemenci started a discussion: (+2 comments) I was wondering if it is not possible to extend the HltEventLoopMgr to correctly handle
IncidentType::AbortEvent
andIEventProcessor::stopRun()
instead of using an exception.In MinimalEventLoopMgr,
IncidentType::AbortEvent
tells the scheduler to stop executing algorithms for the current event (kind of acontinue
inside a loop), whileIEventProcessor::stopRun()
can be used to tell the scheduler that we do not need to process other events once we are done whith the current one.The combination of the two actions is exactly what the exception
EndOfInput
is meant to achieve.