26#ifndef XAOD_STANDALONE
27 declareInterface< ::IMetaDataTool >(
this );
42 return StatusCode::SUCCESS;
50 return StatusCode::SUCCESS;
54 const Cont_t* input =
nullptr;
60 m_truthMeta = std::make_unique<xAOD::TruthMetaDataContainer>( );
61 m_truthMetaAux = std::make_unique<xAOD::TruthMetaDataAuxContainer>( );
71 if( existing->mcChannelNumber() ==
meta->mcChannelNumber() ){
75 existing->generators() ==
meta->generators() ) {
87 <<
meta->mcChannelNumber() );
94 return StatusCode::SUCCESS;
98 return StatusCode::SUCCESS;
107 ATH_MSG_DEBUG(
"xAOD::TruthMetaDataContainer already in the output" );
108 return StatusCode::SUCCESS;
121 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
Helper class to provide constant type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Helper class to provide constant type-safe access to aux data.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
bool exists(const std::string &filename)
does a file exist
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
xAOD::TruthMetaDataContainer Cont_t
TruthMetaDataContainer_v1 TruthMetaDataContainer
Declare the latest version of the truth vertex container.
TruthMetaData_v1 TruthMetaData
Typedef to implementation.