#root #tree #command-line-tool #branch #content #file #oxyroot

app oxyroot-dump

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

5 releases

0.1.24 Apr 24, 2024
0.1.23 Apr 21, 2024
0.1.22 Apr 18, 2024
0.1.21 Apr 18, 2024
0.1.20 Apr 18, 2024

#19 in #root

Download history 153/week @ 2024-04-12 250/week @ 2024-04-19 29/week @ 2024-04-26

432 downloads per month

MIT/Apache

630KB
14K 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

~10MB
~189K SLoC