getTreeNames               package:xps               R Documentation

_G_e_t _T_r_e_e _N_a_m_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Get tree names stored in a ROOT file.

_U_s_a_g_e:

     getTreeNames(rootfile, treetype = "*", setname = NULL, gettitle = FALSE)

_A_r_g_u_m_e_n_t_s:

rootfile: name of ROOT file, including full path.

treetype: tree type.

 setname: name of ROOT subdirectory containing trees.

gettitle: If 'TRUE' the titles of the trees will be returned.

_D_e_t_a_i_l_s:

     Extracts the tree names of 'treetype' stored in 'ROOT' file
     'rootfile'. 
      Valid tree types are listed in 'validTreetype'. For
     'treetype="*"' names for all trees in 'rootfile' are returned. 
      If 'setname' is provided, only tree names in subdirectory
     'setname' are returned.

_V_a_l_u_e:

     A 'vector' of tree names. For 'gettitle=TRUE' a 'vector' of tree
     titles.

_A_u_t_h_o_r(_s):

     Christian Stratowa

_E_x_a_m_p_l_e_s:

     getTreeNames(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
     getTreeNames(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"), "scm")
     getTreeNames(paste(.path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

