#root #command-line-tool #physics #tree #particle #branch #file

app oxyroot-dump

A simple command line tool which use oxyroot to dump the content of tree and branches of a .root file

6 releases

0.1.25 Oct 10, 2024
0.1.24 Apr 24, 2024

#1305 in Command line utilities

Download history 12/week @ 2024-09-21 2/week @ 2024-09-28 149/week @ 2024-10-05 30/week @ 2024-10-12 2/week @ 2024-10-19

314 downloads per month

MIT/Apache

1MB
22K SLoC

oxyroot-dump

Install

```bash
cargo install oxyroot-dump
```

Usage

```bash
oxyroot-dump --file test_suite/create_root_files_with_root/t04_01_write_tree_points.root
```

Example output

=== "test_suite/create_root_files_with_root/t04_01_write_tree_points.root" ===
>>> tree: "myTree"
name                           | typename                       | interpretation                
-------------------------------+-------------------------------+-------------------------------
points                         | Point                          | Point                         
x                              | int32_t                        | i32                           
y                              | int32_t                        | i32                           
Can not interpret type_name = "Point"
[0][x]: 0
[0][y]: 0
[1][x]: 1
[1][y]: 1
[2][x]: 2
[2][y]: 4
[3][x]: 3
[3][y]: 9
[4][x]: 4
[4][y]: 16
[5][x]: 5
[5][y]: 25
[6][x]: 6
[6][y]: 36
[7][x]: 7
[7][y]: 49
[8][x]: 8
[8][y]: 64
[9][x]: 9
[9][y]: 81

Dependencies

~12MB
~221K SLoC