Exemplo n.º 1
0
def list_branches(filename, treename=None):
    """Get a list of branches for trees in a ROOT file.

    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_branches(filename, treename)
Exemplo n.º 2
0
def list_branches(filename, treename=None):
    """Get a list of the branch names of a tree in a ROOT file.

    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
    -------
    branches : list
        List of branch names

    """
    return _librootnumpy.list_branches(filename, treename)
Exemplo n.º 3
0
def list_branches(fname, treename=None):
    """
    get a list of branches for given *fname* and *treename*.
    *treename* is optional if fname has only one tree
    """
    return _librootnumpy.list_branches(fname, treename)
Exemplo n.º 4
0
def list_branches(fname, treename=None):
    """
    get a list of branches for given *fname* and *treename*.
    *treename* is optional if fname has only one tree
    """
    return _librootnumpy.list_branches(fname, treename)