Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 726 Bytes

cli.rst

File metadata and controls

28 lines (18 loc) · 726 Bytes

Command Line Applications

twaml._apps

twaml-root2pytables

Convert a set of ROOT files into a single pytables HDF5 file.

twaml-root2pytables --help

An example that uses the default --tree-name and --weight-name, while only saving the branches b1 and b2 and requiring the branch elmu to be true and pT_lep1 to be greater than 50 to save the event.

$ twaml-root2pytables -i file.root -o file.h5 --branches b1 b2 \
      --selection "(elmu == True) & (pT_lep1 > 50)"

The docs for the function that is being called:

root2pytables