Crates.io | root-io |
lib.rs | root-io |
version | 0.3.0 |
source | src |
created_at | 2018-02-19 20:47:21.845461 |
updated_at | 2021-02-05 08:03:25.515537 |
description | Reading of `.root` binary files which are commonly used in particle physics |
homepage | |
repository | https://github.com/cbourjau/alice-rs |
max_upload_size | |
id | 51957 |
size | 126,745 |
root-io
provides basic support for reading data stored in binary .root
files commonly used in particle physics experiments. This crates provides:
yaml
describing the streamed objects (aka. TStreamerInfo
)Rust
code as a starting point for a new parserTTree
sThe majority of the exposed API serves the latter point; striving to enable an easy iteration over data stored in TTree
s. 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.