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 473 of file dqm_interfaces.py.
def dqm_interfaces.DQMRootFile.__init__ | ( | self, | |
rootfilename | |||
) |
Definition at line 479 of file dqm_interfaces.py.
|
private |
Definition at line 489 of file dqm_interfaces.py.
References edm.print().
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 509 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 534 of file dqm_interfaces.py.
References dqm_interfaces.DQMRootFile.__is_null().
def dqm_interfaces.DQMRootFile.ls | ( | self, | |
directory_name = "" |
|||
) |
Definition at line 495 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 481 of file dqm_interfaces.py.
dqm_interfaces.DQMRootFile.rootfileprevpwd |
Definition at line 483 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMRootFile.cd().
dqm_interfaces.DQMRootFile.rootfilepwd |
Definition at line 482 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMRootFile.cd(), and dqm_interfaces.DQMRootFile.ls().