Skip to content

Enable Thread-Safe N-Tuple Writing with FunTuple Using the TTreeWriter

Introduce changes to FunTuple to enable thread-safe n-tuple writing in DaVinci. The core modification is the integration of the TTreeWriter, which implements thread-safe n-tuple writing following the logic of the NTupleWriter in Gaudi, see gaudi/Gaudi!1577 (merged)

The interface of FunTuple remains unchanged, except for the addition of a writer_tool property. It is set to use the TTreeWriter by default, and can be configured in the future to use other writing backends like an implementation with RNTuple.

Main components and their interactions:

UML Diagram

Merge request reports

Loading