New InputCopyStream
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:
- Get and save the leaves in the input file to TES with
FetchLeavesFromFile
; - Use
DataObjectReadHandle
inCopyInputStream
to retrieve leaves from the TES; - Write objects to output at the end of the event.
Edited by Ao Xu