|
| file = ROOT.TFile(filename) |
|
| root = f.GetDirectory(rootfolder) |
|
Wraps exported Go4 memory .root-files
Definition at line 6 of file expmem.py.
◆ __init__()
go4py.internals.expmem.ExpMem.__init__ |
( |
| self, |
|
|
| filename, |
|
|
| rootfolder = "Analysis" ) |
Open the TFile filename as file and
get the TDirectory rootfolder as root
For rootfolder, "Workspace" might be desired besides the default
An unset rootfolder, "*", and "/" all mean the actual root of the file
Definition at line 11 of file expmem.py.
◆ MatchingObjects()
go4py.internals.expmem.ExpMem.MatchingObjects |
( |
| self, |
|
|
| expr = "*", |
|
|
| folder = None ) |
Iterate over Objects() that match expr
Definition at line 54 of file expmem.py.
References Objects().
◆ Objects()
go4py.internals.expmem.ExpMem.Objects |
( |
| self, |
|
|
| folder = None ) |
◆ tree()
go4py.internals.expmem.ExpMem.tree |
( |
| self, |
|
|
| folder = None, |
|
|
| indent = 1 ) |
Recursively print the object/folder tree of the opened .root-file
Definition at line 64 of file expmem.py.
References root, and tree().
Referenced by tree().
◆ file
go4py.internals.expmem.ExpMem.file = ROOT.TFile(filename) |
◆ root
go4py.internals.expmem.ExpMem.root = f.GetDirectory(rootfolder) |
The documentation for this class was generated from the following file: