|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "AthLinks/ElementLink.h"
28 return StatusCode::SUCCESS;
37 segments = h_segments.
cptr();
41 return StatusCode::FAILURE;
45 if( ! segments )
return StatusCode::SUCCESS;
50 std::make_unique<xAOD::MuonSegmentAuxContainer>()));
52 unsigned int index = 0;
55 if( !muonSegment )
continue;
62 return StatusCode::SUCCESS;
SG::ReadHandleKey< Trk::SegmentCollection > m_muonSegmentLocation
const_pointer_type cptr()
Dereference the pointer.
MuonSegmentCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
virtual StatusCode initialize() override
Function initialising the algorithm.
ToolHandle< xAODMaker::IMuonSegmentConverterTool > m_muonSegmentConverterTool
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_xaodContainerName
virtual bool isValid() override final
Can the handle be successfully dereferenced?
ElementLink implementation for ROOT usage.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.