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 
18 
19 namespace 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"};
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer >
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:45
MuonR4::xAODSegmentCnvAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: xAODSegmentCnvAlg.cxx:61
SG::ReadHandleKey< ActsTrk::GeometryContext >
CombinedMuonStripContainer.h
MuonSegmentContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
MuonR4::xAODSegmentCnvAlg::m_geoCtxKey
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
Alignment container key.
Definition: xAODSegmentCnvAlg.h:38
MuonR4::xAODSegmentCnvAlg::m_writeKey
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_writeKey
Output segment container key.
Definition: xAODSegmentCnvAlg.h:36
SG::WriteHandleKey< xAOD::MuonSegmentContainer >
MuonR4::xAODSegmentCnvAlg::m_combMeasKey
SG::WriteHandleKey< xAOD::CombinedMuonStripContainer > m_combMeasKey
Auxiliary container to model two measurements in the same gas gap as a single track state.
Definition: xAODSegmentCnvAlg.h:50
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 a xAOD::MuonSegmentContainer.
Definition: xAODSegmentCnvAlg.h:22
MuonR4::xAODSegmentCnvAlg::m_prdStateKey
DecorKey_t m_prdStateKey
Decoration to the PrdLink state (I.e.
Definition: xAODSegmentCnvAlg.h:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonPatternContainer.h
UncalibratedMeasurementContainer.h
MuonR4::xAODSegmentCnvAlg::m_prdLinkKey
DecorKey_t m_prdLinkKey
Decoration to the links to the associated Uncalibrated measurements.
Definition: xAODSegmentCnvAlg.h:42
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonR4::xAODSegmentCnvAlg::m_readKeys
SG::ReadHandleKeyArray< SegmentContainer > m_readKeys
Input segment container key.
Definition: xAODSegmentCnvAlg.h:34
MuonR4::xAODSegmentCnvAlg::initialize
virtual StatusCode initialize() override final
Definition: xAODSegmentCnvAlg.cxx:49
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:31
MuonR4::xAODSegmentCnvAlg::m_localSegParKey
DecorKey_t m_localSegParKey
Decoration to the local segment parameters.
Definition: xAODSegmentCnvAlg.h:46
MuonR4::xAODSegmentCnvAlg::m_parentSegKey
DecorKey_t m_parentSegKey
Decoration of the original segment.
Definition: xAODSegmentCnvAlg.h:48
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >