Writing ROOT Tree from Julia

Hello,

At the JuliaHEP workshop of last November the need for ROOT Tree write support in Julia using a binding to ROOT libraries was identified.

TTree writing from Julia is now possible !

The ROOT wrapper example shipped with WrapIt! covers now TTree, including write support. Examples are provided in examples/ex002-ROOT/TTree_examples .

Apart from a change that replaces void* pointer argument to typed one, the interface is identical to the ROOT C++ one, which is based on pointers. While the interface will be familiar to people used to the C++ one, it is not as friendly and as safe as expected from a Julia package. Providing higher level interface is the topic of a proposal for a Google School of computing project, GSoC project.

Note that for reading, we already have an excellent friendly, safe, and efficiency interface with UnROOT.

Work on packaging the ROOT C++ libraries as a _jll package has started. We are facing some difficulties, link to the requirement of the BinaryBuilder(https://docs.binarybuilder.org/) to cross-compile the software on Alpine, that uses musl instead of glibc. Any help in solving this issue is welcome. See this PR for the details.

Philippe.

8 Likes