ATLAS Offline Software
|
Adds a proxy for a metadata object to the input metadata store. More...
virtual StatusCode | MetaDataSvc::prepareOutput (const std::string &outputName) |
Makes the metadata store ready for output with SharedWriter Calls the metaDataStop method of all MetaDataTool interfaces in m_metaDataTool. More... | |
virtual StatusCode | MetaDataSvc::shmProxy (const std::string &filename) override |
Loads file metadata from memory shared between streams in SharedWriter This function clears the input and output metadata stores. More... | |
Adds a proxy for a metadata object to the input metadata store.
The file, class, container, key, and stream number of the metadata object are parsed from the provided string token. An opaque address for the object is generated from the parsed information and recorded in the input metadata store under the key name. If the key contains 'Aux.' it is linked to a IConstAuxStore.
Note that the MetaDataTool corresponding to the object is looked up via classID and created if not found in m_metaDataTools. Some special handling for the EventFormat, EventStreamInfo, and FileMetaData tools should ensure proper propagation —this part seems fragile.
This function may be called directly or when a BeginInputFile incident is fired.
tokenStr | is the string representation of a Token of a metadata object |
|
virtual |
Makes the metadata store ready for output with SharedWriter Calls the metaDataStop method of all MetaDataTool interfaces in m_metaDataTool.
Then release the metadata tools.
outputName | is the name of the output file being written |
Definition at line 292 of file MetaDataSvc.cxx.
|
overridevirtual |
Loads file metadata from memory shared between streams in SharedWriter This function clears the input and output metadata stores.
Then calls addProxyToInputMetaDataStore
using filename
as argument.
filename | stream token with "[NUM=n]" appended, n is the stream number |
Definition at line 312 of file MetaDataSvc.cxx.