GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
go4py.internals.expmem.ExpMem Class Reference
+ Inheritance diagram for go4py.internals.expmem.ExpMem:

Public Member Functions

def __init__
 
def Objects
 
def MatchingObjects
 
def tree
 

Public Attributes

 file
 
 root
 

Detailed Description

Wraps exported Go4 memory .root-files

Definition at line 6 of file expmem.py.

Constructor & Destructor Documentation

def 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.

Member Function Documentation

def go4py.internals.expmem.ExpMem.MatchingObjects (   self,
  expr = "*",
  folder = None 
)
Iterate over Objects() that match expr

Definition at line 54 of file expmem.py.

References go4py.internals.expmem.ExpMem.Objects().

def go4py.internals.expmem.ExpMem.Objects (   self,
  folder = None 
)
Iterate over all objects in the opened .root-file
folder can be a string (relative to rootfolder) or a TDirectory

Definition at line 28 of file expmem.py.

References go4py.internals.expmem.ExpMem.Objects(), and go4py.internals.expmem.ExpMem.root.

Referenced by go4py.internals.expmem.ExpMem.MatchingObjects(), and go4py.internals.expmem.ExpMem.Objects().

def 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 go4py.internals.expmem.ExpMem.root, and go4py.internals.expmem.ExpMem.tree().

Referenced by go4py.internals.expmem.ExpMem.tree().

Member Data Documentation

go4py.internals.expmem.ExpMem.file

Definition at line 21 of file expmem.py.

go4py.internals.expmem.ExpMem.root

The documentation for this class was generated from the following file: