root_numpy.root2rec

root_numpy.root2rec(filenames, treename=None, branches=None, selection=None, object_selection=None, start=None, stop=None, step=None, include_weight=False, weight_name='weight', cache_size=-1, warn_missing_tree=False)

View the result of root2array() as a record array.

Warning

root2rec is deprecated and will be removed in release 5.0.0. Instead use root2array(...).view(np.recarray).

See also

root2array

Notes

  • This is equivalent to:

    root2array(filenames, treename, branches).view(np.recarray)
    
  • Refer to the type conversion table.