ATLAS Offline Software
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 
16 
17 namespace MuonR4{
21  public:
22  using AthReentrantAlgorithm::AthReentrantAlgorithm;
23 
24  virtual StatusCode initialize() override final;
25  virtual StatusCode execute(const EventContext& ctx) const override final;
26 
27  private:
30  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
32  SG::ReadHandleKey<SegmentContainer> m_readKey{this, "InSegmentKey", "R4MuonSegments"};
34  SG::WriteHandleKey<xAOD::MuonSegmentContainer> m_writeKey{this, "OutSegmentKey", "MuonSegmentsFromR4"};
36  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
40  DecorKey_t m_prdLinkKey{this, "PrdLinkKey", m_writeKey, "prdLinks" };
42  DecorKey_t m_localSegParKey{this, "LocalSegParKey", m_writeKey, "localSegPars"};
44  DecorKey_t m_parentSegKey{this, "ParentSegmentKey", m_writeKey, "parentSegment"};
45  };
46 }
47 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer >
MuonR4::xAODSegmentCnvAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: xAODSegmentCnvAlg.cxx:56
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuonR4::xAODSegmentCnvAlg::m_readKey
SG::ReadHandleKey< SegmentContainer > m_readKey
Input segment container key.
Definition: xAODSegmentCnvAlg.h:32
MuonSegmentContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
MuonR4::xAODSegmentCnvAlg::m_writeKey
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_writeKey
Output segment container key.
Definition: xAODSegmentCnvAlg.h:34
SG::WriteHandleKey< xAOD::MuonSegmentContainer >
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
MuonR4::xAODSegmentCnvAlg
The xAODSegmentCnvAlg takes MuonR4::Segments and converts them into an xAOD::MuonSegmentContainer.
Definition: xAODSegmentCnvAlg.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonPatternContainer.h
MuonR4::xAODSegmentCnvAlg::m_prdLinkKey
DecorKey_t m_prdLinkKey
Decoration to the links to the associated Uncalibrated measurements.
Definition: xAODSegmentCnvAlg.h:40
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonR4::xAODSegmentCnvAlg::initialize
virtual StatusCode initialize() override final
Definition: xAODSegmentCnvAlg.cxx:45
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::xAODSegmentCnvAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc for Identifier printing & manipulation.
Definition: xAODSegmentCnvAlg.h:29
MuonR4::xAODSegmentCnvAlg::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Alignment container key.
Definition: xAODSegmentCnvAlg.h:36
MuonR4::xAODSegmentCnvAlg::m_localSegParKey
DecorKey_t m_localSegParKey
Decoration to the local segment parameters.
Definition: xAODSegmentCnvAlg.h:42
MuonR4::xAODSegmentCnvAlg::m_parentSegKey
DecorKey_t m_parentSegKey
Decoration of the original segment.
Definition: xAODSegmentCnvAlg.h:44
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >