there’s also root-split
from groot:
- GoHEP/groot: v0.27.0 (root-split, groot-faster-than-root)
- https://go-hep.org/dist/latest/root-split-linux_amd64.exe (for Linux/64b)
- https://go-hep.org/dist/latest/root-split-darwin_amd64.exe (for macOS)
- https://go-hep.org/dist/latest/root-split-windows_amd64.exe (for Win/64b)
full list here.
ex:
$> root-split -h
Usage: root-split [options] file.root
ex:
$> root-split -o out.root -n 10 ./testdata/chain.flat.1.root
options:
-n int
number of events to split into (default 100)
-o string
path to output ROOT files (default "out.root")
-t string
input tree name to split (default "tree")
-v enable verbose mode
hth,
-s