ATLAS Offline Software
Loading...
Searching...
No Matches
xAODSegmentCnvAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSEGMENTCNV_XAODSEGMENTCNVALG_H
5#define MUONSEGMENTCNV_XAODSEGMENTCNVALG_H
6
7
12
18
19namespace MuonR4{
23 public:
24 using AthReentrantAlgorithm::AthReentrantAlgorithm;
25
26 virtual StatusCode initialize() override final;
27 virtual StatusCode execute(const EventContext& ctx) const override final;
28
29 private:
32 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
33
34 SG::ReadHandleKeyArray<SegmentContainer> m_readKeys{this, "InSegmentKeys", {"R4MuonSegments"}};
36 SG::WriteHandleKey<xAOD::MuonSegmentContainer> m_writeKey{this, "OutSegmentKey", "MuonSegmentsFromR4"};
38 SG::ReadHandleKey<ActsTrk::GeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
42 DecorKey_t m_prdLinkKey{this, "PrdLinkKey", m_writeKey, "prdLinks" };
44 DecorKey_t m_prdStateKey{this, "PrdStateKey", m_writeKey, "prdState"};
46 DecorKey_t m_localSegParKey{this, "LocalSegParKey", m_writeKey, "localSegPars"};
48 DecorKey_t m_parentSegKey{this, "ParentSegmentKey", m_writeKey, "parentSegment"};
50 SG::WriteHandleKey<xAOD::CombinedMuonStripContainer> m_combMeasKey{this, "combinedPrdKey", "CombinedMuonPrds"};
51 };
52}
53#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
The xAODSegmentCnvAlg takes MuonR4::Segments and converts them into a xAOD::MuonSegmentContainer.
DecorKey_t m_prdStateKey
Decoration to the PrdLink state (I.e.
DecorKey_t m_localSegParKey
Decoration to the local segment parameters.
DecorKey_t m_parentSegKey
Decoration of the original segment.
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_writeKey
Output 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.
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > DecorKey_t
Abrivation of the extra declared auxVariables.
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
Alignment container key.
DecorKey_t m_prdLinkKey
Decoration to the links to the associated Uncalibrated measurements.
virtual StatusCode execute(const EventContext &ctx) const override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc for Identifier printing & manipulation.
virtual StatusCode initialize() override final
SG::ReadHandleKeyArray< SegmentContainer > m_readKeys
Input segment container key.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
This header ties the generic definitions in this package.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray