|
ATLAS Offline Software
|
Go to the documentation of this file.
18 const std::string&
type,
19 const std::string&
name,
22 , m_metadataStore(
"StoreGateSvc/MetaDataStore",
name)
23 , m_inputStore (
"StoreGateSvc/InputMetaDataStore",
name)
25 declareInterface<IMetaDataTool>(
this);
44 return(StatusCode::SUCCESS);
71 std::vector<std::unique_ptr<ByteStreamMetadata> >
copy;
72 std::set<std::string> transGuids;
81 std::list<SG::ObjectWithVersion<ByteStreamMetadata> > allVersions;
85 copy.push_back(std::make_unique<ByteStreamMetadata>(*
obj.dataObject));
92 std::list<SG::ObjectWithVersion<ByteStreamMetadataContainer> > allVersions;
97 copy.push_back(std::make_unique<ByteStreamMetadata>(*md));
109 ATH_MSG_DEBUG(
"Pre-existing ByteStreamMetadataContainer found");
112 for (
const auto bsmd : *bsmdc)
113 transGuids.insert(bsmd->getGuid());
122 for(
auto& pBSMD :
copy) {
124 if(transGuids.insert(pBSMD->getGuid()).second)
130 return StatusCode::SUCCESS;
137 std::set<std::string>
140 std::vector<std::string>
vKeys;
141 std::set<std::string>
keys;
157 return StatusCode::SUCCESS;
164 return StatusCode::SUCCESS;
171 return StatusCode::SUCCESS;
178 return StatusCode::SUCCESS;
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
ByteStreamMetadataContainer
::StatusCode StatusCode
StatusCode definition for legacy code.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
associate a data object with its VersionedKey The object is held by a ReadHandle to delay its retriev...