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="/"))

