Functions | |
def | literal2root |
def | loadStreamerInfo |
def | tfile_cd |
def ROOTData.literal2root | ( | literal, | |
rootType, | |||
debug = False |
|||
) |
Convert an hexadecimal string into a root-object. In case a TStreamerInfo object is passed, this will be decoded by the loadStreamerInfo function to handle it properly and a None object will be returned. It is the responsibility of the user not the use the returned object in this very case.
Definition at line 53 of file ROOTData.py.
References mps_check.array, and loadStreamerInfo().
Referenced by dqm_interfaces.DQMcommunicator.get_root_objects(), dqm_interfaces.DQMcommunicator.get_root_objects_list(), dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator.get_root_objects_recursive(), and dqm_interfaces.DirWalkerDB.run().
def ROOTData.loadStreamerInfo | ( | literal, | |
debug | |||
) |
Decode a literal made of TStreamerInfo informations and load streamers that are not part of the currently used version of ROOT. The implementation is a back-to-bone and simplified version of the one contained in the DQM GUI source code.
Definition at line 25 of file ROOTData.py.
References mps_check.array, and print().
Referenced by literal2root().
def ROOTData.tfile_cd | ( | dirname, | |
tfile, | |||
debug = False |
|||
) |
Safely re-build and navigate the directory structure. dirname is considered to be an absolute path.
Definition at line 6 of file ROOTData.py.
References print().