Go to the source code of this file.
◆ CREATE
Value: { \
ATH_CHECK( (createIfMissing<__TYPE, void>( context, ConstHandlesGroup<__TYPE>( m_##__TYPE, m_##__TYPE##InViews, m_##__TYPE##Views ), generator, &
HLTEDMCreator::noMerge<__TYPE>)) ); \
}
StatusCode noMerge(ViewContainer const &views, const SG::ReadHandleKey< T > &inViewKey, EventContext const &context, T &output) const
◆ CREATE_SHALLOW
| #define CREATE_SHALLOW |
( |
| __TYPE | ) |
|
Value: { \
for (
size_t index = 0;
index < m_##__TYPE##ShallowCopy.size(); ++
index ){ \
if ( not readHandle.isValid() ) { \
ATH_MSG_DEBUG(
"Creating missing "#__TYPE
"ShallowCopy " << m_##__TYPE##ShallowCopy[
index].key() ); \
ATH_CHECK( writeHandle.record( std::make_unique<xAOD::__TYPE>(), std::make_unique<xAOD::ShallowAuxContainer>() )); \
} else { \
ATH_MSG_DEBUG( #__TYPE
"ShallowCopy " << m_##__TYPE##ShallowCopyOut[
index].key() <<
" present in the event, done nothing"); \
} \
} \
}
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
◆ CREATE_XAOD
| #define CREATE_XAOD |
( |
| __TYPE, |
|
|
| __STORE_TYPE ) |
Value: { \
ATH_CHECK( (createIfMissing<xAOD::__TYPE, xAOD::__STORE_TYPE>( context, ConstHandlesGroup<xAOD::__TYPE>( m_##__TYPE, m_##__TYPE##InViews, m_##__TYPE##Views ), generator, &
HLTEDMCreator::viewsMerge<xAOD::__TYPE>)) ); \
}
StatusCode viewsMerge(ViewContainer const &views, const SG::ReadHandleKey< T > &inViewKey, EventContext const &context, T &output) const
◆ INIT
Value: ATH_CHECK( initHandles( HandlesGroup<__TYPE>( m_##__TYPE, m_##__TYPE##InViews, m_##__TYPE##Views ) ) );
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ INIT_SHALLOW
| #define INIT_SHALLOW |
( |
| __TYPE | ) |
|
Value: ATH_CHECK( m_##__TYPE##ShallowCopy.initialize() ); \
renounceArray( m_##__TYPE##ShallowCopy ); \
for ( auto k: m_##__TYPE##ShallowCopy ) \
m_##__TYPE##ShallowCopyOut.push_back(k.key()); \
ATH_CHECK( m_##__TYPE##ShallowCopyOut.initialize() ); \
if(m_renounceOutputs) { renounceArray( m_##__TYPE##ShallowCopyOut ); }
◆ INIT_XAOD
| #define INIT_XAOD |
( |
| __TYPE, |
|
|
| __STORE_TYPE ) |
Value: ATH_CHECK( initHandles( HandlesGroup<xAOD::__TYPE>( m_##__TYPE, m_##__TYPE##InViews, m_##__TYPE##Views ) ) ); \
ATH_CHECK( initAuxKey<xAOD::__STORE_TYPE>( m_##__TYPE.keys() ) );