root
root copied to clipboard
[ntuple] Provide tutorial for (envisioned) framework usage
It would be good to provide a tutorial how we (RNTuple developers) envision the APIs to be used by experiment frameworks. Relevant classes and methods that come to mind:
- Creation of (bare)
RNTupleModelandRFieldTokens (for parallel writing, see also https://github.com/root-project/root/issues/16236) - Creation of (multiple)
RNTupleWriter/RNTupleParallelWriterwhenAppending to a singleTFile - For parallel writing, creation of
RNTupleFillContextper thread or another granularity - Creation of (potentially multiple)
REntrys and usingBindRawPtr()to fill objects - Using
FillNoCommit(),RNTupleFillStatus::ShouldCommitCluster(), a futureFlushPageBuffers()(see https://github.com/root-project/root/issues/16241) andCommitCluster()to reduce the time in critical sections