Skip to content

New InputCopyStream

Ao Xu requested to merge lhcb/Gaudi:new-inputcopystream into master

Add an alternative of InputCopyStream, which removes the use of BeginEvent incident service. The motivation is explained in more details in Moore #143 Moore #153 and Gaudi #102.

Two new algorithms are added: CopyInputStream and FetchLeavesFromFile.

The idea is to make sure that the instance of CopyInputStream "knows" what objects come from the input file, without the use of BeginEvent incident service.

The logic of the solution:

  1. Get and save the leaves in the input file to TES with FetchLeavesFromFile;
  2. Use DataObjectReadHandle in CopyInputStream to retrieve leaves from the TES;
  3. Write objects to output at the end of the event.
Edited by Ao Xu

Merge request reports