root-io

Crates.io Version

Documentation

https://docs.rs/root-io/0.1.1/root_io/

root-io provides basic support for reading data stored in binary .root files commonly used in particle physics experiments. This crates provides:

The majority of the exposed API serves the latter point; striving to enable an easy iteration over data stored in TTrees. In particular, root-io supports reading TBranches (i.e. akin to "columns" of a database) with a variable number of elements in each entry (i.e. TBranches of TClonesArray).

The root-ls crate utilizes this crate to in a CLI to inspect a given root file and to deploy the code-gen tools.