![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
21 const std::string&
name,
24 declareInterface< ::IMetaDataTool >(
this);
45 return StatusCode::SUCCESS;
54 auto format = std::make_unique< xAOD::EventFormat >();
58 REPORT_ERROR(
sc) <<
"Failed to collect metadata from the input file";
59 throw std::runtime_error(
"Failed to collect event format "
60 "metadata from the input");
63 return StatusCode::SUCCESS;
71 return StatusCode::SUCCESS;
85 [
this](std::string&
key) {
86 return !m_inputMetaStore->contains<xAOD::EventFormat>(key);
93 if (
keys.empty())
return StatusCode::SUCCESS;
96 for (
const std::string&
key :
keys) {
97 std::list<SG::ObjectWithVersion<xAOD::EventFormat> > allVersions;
101 <<
key <<
"\" from InputMetaDataStore");
108 auto ef = std::make_unique<xAOD::EventFormat>();
112 <<
key <<
"\" in MetaDataSvc");
121 for (
auto itr =
input->begin(); itr !=
input->end(); ++itr) {
122 if (!
output->exists(itr->second.hash())) {
130 return StatusCode::SUCCESS;
#define REPORT_ERROR(SC)
Report an error.
#define ATH_MSG_VERBOSE(x)
::StatusCode StatusCode
StatusCode definition for legacy code.
Helpers for checking error return status codes and reporting errors.
associate a data object with its VersionedKey The object is held by a ReadHandle to delay its retriev...