TreeSet-class: Class TreeSet

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

This is the virtual base class for all other classes providing the link to a ROOT file and the ROOT trees contained therein.

Objects from the Class

A virtual Class: No objects may be created from it.

Slots

setname:

Object of class "character" representing the name to the ROOT file subdirectory where the ROOT trees are stored, usually one of ‘DataTreeSet’, ‘PreprocesSet’, ‘CallTreeSet’.

settype:

Object of class "character" describing the type of treeset stored in setname, usually one of ‘scheme’, ‘rawdata’, ‘preprocess’.

rootfile:

Object of class "character" representing the name of the ROOT file, including full path.

filedir:

Object of class "character" describing the full path to the system directory where rootfile is stored.

numtrees:

Object of class "numeric" representing the number of ROOT trees stored in subdirectoy setname.

treenames:

Object of class "list" representing the names of the ROOT trees stored in subdirectoy setname.

Methods

export

signature(object = "TreeSet"): exports ROOT trees as text file, see export-methods.

fileDir

signature(object = "TreeSet"): extracts slot filedir.

fileDir<-

signature(object = "TreeSet", value = "character"): replaces slot filedir.

root.browser

signature(object = "TreeSet"): opens the ROOT file browser.

rootFile

signature(object = "TreeSet"): extracts slot rootfile.

rootFile<-

signature(object = "TreeSet", value = "character"): replaces slot rootfile.

setName

signature(object = "TreeSet"): extracts slot setname.

setName<-

signature(object = "TreeSet", value = "character"): replaces slot setname.

setType

signature(object = "TreeSet"): extracts slot settype.

setType<-

signature(object = "TreeSet", value = "character"): replaces slot settype.

treeInfo

signature(object = "TreeSet"): extracts UserInfo from ROOT trees.

treeNames

signature(object = "TreeSet"): extracts slot treenames.

Author(s)

Christian Stratowa

See Also

derived classes SchemeTreeSet, DataTreeSet, ExprTreeSet, CallTreeSet.

Examples

1
showClass("TreeSet")

xps documentation built on Nov. 8, 2020, 6 p.m.