18from ROOT
import TFile, TTree, addressof, gROOT
46 f =
TFile(
"staff.root",
"RECREATE")
47 tree =
TTree(
"T",
"staff data from ascii file")
48 tree.Branch(
"staff", staff,
"Category/I:Flag:Age:Service:Children:Grade:Step:Hrweek:Cost")
54 with open(fname)
as file:
78if __name__ ==
"__main__":
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
A TTree represents a columnar dataset.