Public Member Functions | |
def | __init__ (self, rootfilename) |
def | cd (self, directory_name) |
def | getObj (self, objname) |
def | ls (self, directory_name="") |
Public Attributes | |
rootfile | |
rootfileprevpwd | |
rootfilepwd | |
Private Member Functions | |
def | __is_null (self, directory, name) |
Class acting as interface between the user and the harvested DQMRootFile. It skips the directories created by the DQM infrastructure so to provide an interface as similar as possible to a real direcory structure and to the directory structure provided by the db interface.
Definition at line 470 of file dqm_interfaces.py.
def dqm_interfaces.DQMRootFile.__init__ | ( | self, | |
rootfilename | |||
) |
Definition at line 476 of file dqm_interfaces.py.
|
private |
Definition at line 486 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMRootFile.cd(), dqm_interfaces.DQMRootFile.getObj(), and dqm_interfaces.DQMRootFile.ls().
def dqm_interfaces.DQMRootFile.cd | ( | self, | |
directory_name | |||
) |
Change the current TDirectoryFile. The familiar "-" and ".." directories can be accessed as well.
Definition at line 506 of file dqm_interfaces.py.
References dqm_interfaces.DQMRootFile.__is_null(), dqm_interfaces.DQMRootFile.rootfileprevpwd, and dqm_interfaces.DQMRootFile.rootfilepwd.
Referenced by dqm_interfaces.DirWalkerFile.walk().
def dqm_interfaces.DQMRootFile.getObj | ( | self, | |
objname | |||
) |
Get a TObject from the rootfile.
Definition at line 531 of file dqm_interfaces.py.
References dqm_interfaces.DQMRootFile.__is_null().
def dqm_interfaces.DQMRootFile.ls | ( | self, | |
directory_name = "" |
|||
) |
Definition at line 492 of file dqm_interfaces.py.
References dqm_interfaces.DQMRootFile.__is_null(), and dqm_interfaces.DQMRootFile.rootfilepwd.
Referenced by dqm_interfaces.DirWalkerFile.walk().
dqm_interfaces.DQMRootFile.rootfile |
Definition at line 478 of file dqm_interfaces.py.
dqm_interfaces.DQMRootFile.rootfileprevpwd |
Definition at line 480 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMRootFile.cd().
dqm_interfaces.DQMRootFile.rootfilepwd |
Definition at line 479 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMRootFile.cd(), and dqm_interfaces.DQMRootFile.ls().