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>)) ); \
}
◆ CREATE_SHALLOW
#define CREATE_SHALLOW |
( |
|
__TYPE | ) |
|
Value: { \
for (
size_t index = 0;
index < m_##__TYPE##ShallowCopy.size(); ++
index ){ \
auto readHandle = SG::makeHandle<xAOD::__TYPE> ( m_##__TYPE##ShallowCopy[
index], context ); \
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"); \
} \
} \
}
◆ CREATE_XAOD
#define CREATE_XAOD |
( |
|
__TYPE, |
|
|
|
__STORE_TYPE |
|
) |
| |
Value: { \
xAODGenerator<xAOD::__TYPE, xAOD::__STORE_TYPE>
generator; \
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>)) ); \
}
◆ INIT
#define INIT |
( |
|
__TYPE | ) |
ATH_CHECK( initHandles( HandlesGroup<__TYPE>( m_##__TYPE, m_##__TYPE##InViews, m_##__TYPE##Views ) ) ); |
◆ 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() ); \
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() ) );