 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 return StatusCode::FAILURE;
16 return StatusCode::SUCCESS;
24 viewCont.insert(viewCont.end(), segCont->begin(), segCont->end());
27 ATH_CHECK(writeHandle.record(std::make_unique<xAOD::MuonSegmentContainer>(*viewCont.asDataVector())));
28 return StatusCode::SUCCESS;
SG::ReadHandleKeyArray< xAOD::MuonSegmentContainer > m_readKeys
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
DataVector adapter that acts like it holds const pointers.
StatusCode execute(const EventContext &ctx) const override final
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
StatusCode initialize() override final
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_writeKey
This header ties the generic definitions in this package.
DataVector adapter that acts like it holds const pointers.