Skip to content

Add flag to OutputStream to write metadata and close after next Event. ATEAM-832

ATEAM-832
Added internal m_writeMetadataAndDisconnect flag to AthenaOutputStream that tells it to write out metadata and disconnect from the output after finishing writing the next Event.
This is used by OutputSequencer in SP mode, when chaning to the next output file is triggered by EndEvent - used by EventDisplay. EndEvent comes before output writing, so the disconnect can't happen right away and needs to be postponed.
Jobs other than EventDisplay should not be affected at all.

Edited by Marcin Nowak

Merge request reports