def lst(filename, treename=None): """Return tree structures. Parameters ---------- filename : str Path to ROOT file. treename : str, optional (default=None) Name of tree in the ROOT file (optional if the ROOT file has only one tree). """ return _librootnumpy.list_structures(filename, treename)
def list_structures(filename, treename=None): """Get a dictionary mapping branch names to leaf structures. Parameters ---------- filename : str Path to ROOT file. treename : str, optional (default=None) Name of tree in the ROOT file (optional if the ROOT file has only one tree). Returns ------- structures : OrderedDict An ordered dictionary mapping branch names to leaf structures. """ return _librootnumpy.list_structures(filename, treename)
def lst(fname, treename=None): """ return tree structures. *treename* is optional if fname has only one tree """ return _librootnumpy.list_structures(fname, treename)