Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbourjau/alice-sys
Deprecated Rust bindings for ROOT used to analyze the public ALICE open-data
https://github.com/cbourjau/alice-sys
Last synced: about 1 month ago
JSON representation
Deprecated Rust bindings for ROOT used to analyze the public ALICE open-data
- Host: GitHub
- URL: https://github.com/cbourjau/alice-sys
- Owner: cbourjau
- License: mpl-2.0
- Created: 2018-02-19T20:52:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T09:50:32.000Z (almost 7 years ago)
- Last Synced: 2024-10-08T13:10:08.683Z (3 months ago)
- Language: C++
- Size: 43.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alice-sys (deprecated)
*Analysis of the ALICE ope-data can now be down in pure Rust! Check out [alice-rs](https://github.com/cbourjau/alice-rs).*
This crate contains the [bindgen](https://github.com/rust-lang-nursery/rust-bindgen) generated bindings to a c++ object which reads the data from disk.
The c++ class is automatically generated by ROOT's `TTree::MakeClass` function specifically for the Event-Summary-Data (ESD) data format at hand.
I disabled the majority of the unneeded columns (branches) in the `c++` files. I would love to be able to enable/disable branches from the Rust side. I am toying with the idea of having some sort of a macro which enables specific branches and then implements a trait to access them. Alternatively, it would be awesome to actually do the IO in pure rust using `nom`, but that seems far away at this point.**The compilation of this crate requires a ROOT 6 installation.**