![]() |
ATLAS Offline Software
|
Functions | |
| _streamKey (dataType) | |
| guid2string (guid) | |
| token2string (tk, replace_empty_cntID=False) | |
| _resolveAncestorProvenance (dh, requestedKey) | |
| _resolveSelfReference (dh, requestedKey) | |
| resolveProvenanceGuid (store, dataType, inputDataType) | |
Variables | |
| _TOKEN_DB_RE | |
| dict | _STREAM_KEY |
| tuple | _KNOWN_ANCESTOR_KEYS |
EventGUIDLookupLib.py Provenance GUID resolution, adapted from the "Self reference and Provenance" block of Database/EventIndex/EventIndexProducer/python/POOL2EI_Lib.py - If the requested dataType IS the input file's own dataType, the GUID is in the *self reference* (the current file's own DataHeader entry). - Otherwise, the GUID is in the *ancestor provenance* record for that stream, and only exists at all for the handful of streams POOL2EI_Lib recognizes there (RAW/ESD/AOD/RDO/HITS/EVGEN/Embedding) -- see _KNOWN_ANCESTOR_KEYS.
|
protected |
Definition at line 63 of file EventGUIDLookupLib.py.
|
protected |
Definition at line 87 of file EventGUIDLookupLib.py.
|
protected |
Map --dataType/--inputDataType onto the DataHeader key. Types with no fixed internal name (DAOD_PHYS, DAOD_PHYSLITE) fall back to 'Stream<dataType>' -- only usable as a self-reference, never as a recognized ancestor key (see _KNOWN_ANCESTOR_KEYS).
Definition at line 37 of file EventGUIDLookupLib.py.
| guid2string | ( | guid | ) |
Definition at line 45 of file EventGUIDLookupLib.py.
| resolveProvenanceGuid | ( | store, | |
| dataType, | |||
| inputDataType ) |
Return the provenance GUID string for `dataType`, given the input file is actually `inputDataType`, for the current event -- call from inside an algorithm's execute(). Returns None if not found.
Definition at line 107 of file EventGUIDLookupLib.py.
| token2string | ( | tk, | |
| replace_empty_cntID = False ) |
Definition at line 54 of file EventGUIDLookupLib.py.
|
protected |
Definition at line 33 of file EventGUIDLookupLib.py.
|
protected |
Definition at line 24 of file EventGUIDLookupLib.py.
|
protected |
Definition at line 20 of file EventGUIDLookupLib.py.