6using namespace Acts::UnitLiterals;
22 return StatusCode::SUCCESS;
45 unsigned recoSegIdx{0};
48 for (
const Segment* inSegment : *segmentContainer) {
52 return StatusCode::FAILURE;
55 dec_parentLink(*convertedSeg) =
SegLink_t{segmentContainer, recoSegIdx};
59 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x,...)
size_type size() const noexcept
Returns the number of elements in the collection.
ElementLink implementation for ROOT usage.
Placeholder for what will later be the muon segment EDM representation.
DecorKey_t m_prdStateKey
Decoration to the PrdLink state (I.e.
DecorKey_t m_localSegParKey
Decoration of the local segment parameters.
DecorKey_t m_localSegCovKey
Decoration of the local fit covariance parameters.
DecorKey_t m_parentSegKey
Decoration of the original segment.
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_writeKey
Output xAOD::segment container key.
SG::WriteHandleKey< xAOD::CombinedMuonStripContainer > m_combMeasKey
Auxiliary container to model two measurements in the same gas gap as a single track state.
ToolHandle< IxAODSegmentCnvTool > m_segmentCnvTool
Segment converter tool.
DecorKey_t m_prdLinkKey
Decoration to the links to the associated Uncalibrated measurements.
virtual StatusCode execute(const EventContext &ctx) const override final
virtual StatusCode initialize() override final
Gaudi::Property< bool > m_convertBeamSpot
Flag to convert the beamspot constaint as well.
ActsTrk::AuxiliaryMeasurementHandler m_auxMeasProv
Handler to parse the auxiliary beam spot constaint.
SG::ReadHandleKeyArray< SegmentContainer > m_readKeys
Input segment container key.
ActsTrk::GeoContextReadKey_t m_geoCtxKey
Alignment container key.
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for adding a decoration to an object.
This header ties the generic definitions in this package.
ElementLink< xAOD::MuonSegmentContainer > SegLink_t
DataVector< Segment > SegmentContainer
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
MuonSegment_v1 MuonSegment
Reference the current persistent version: