Description Usage Arguments Details Value Author(s) Examples
Get tree names stored in a ROOT file.
1 | getTreeNames(rootfile, treetype = "*", setname = NULL, gettitle = FALSE)
|
rootfile |
name of ROOT file, including full path. |
treetype |
tree type. |
setname |
name of ROOT subdirectory containing trees. |
gettitle |
If |
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.
A vector
of tree names. For gettitle=TRUE
a vector
of tree titles.
Christian Stratowa
1 2 3 | 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="/"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.