ATLAS Offline Software
Loading...
Searching...
No Matches
SegmentFitParDecorAlg.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_SEGMENTFITPARDECORALG_H
5#define MUONSEGMENTCNV_SEGMENTFITPARDECORALG_H
6
8
11
16namespace 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 private:
29 using PrdLinkVec = std::vector<PrdLink_t>;
31
38 StatusCode fetchMeasurement(const EventContext& ctx,
39 const MeasKey_t& key,
40 const Identifier& measId,
41 const xAOD::UncalibratedMeasurement*& meas) const;
46 StatusCode addLink(const EventContext& ctx,
47 const Identifier& rotId,
48 PrdLinkVec& prdLinks) const;
49
51 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
52
53 SG::ReadHandleKey<ActsTrk::GeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
54
56
58
63
64 MeasKey_t m_keyTgc{this, "TgcKey", "xTgcStrips"};
65 MeasKey_t m_keyRpc{this, "RpcKey", "xRpcMeasurements"};
66 MeasKey_t m_keyMdt{this, "MdtKey", "xMdtMeasurements"};
67 MeasKey_t m_keysTgc{this, "sTgcKey", "xAODsTgcMeasurements"};
68 MeasKey_t m_keyMM{this, "MmKey", "xAODMMClusters"};
69
70 };
71}
72
73#endif
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Algorithm to decorate the segment fit parameters in the chamber's frame onto the xAOD::MuonSegment Ad...
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segmentKey
xAOD::UncalibratedMeasurementContainer PrdCont_t
StatusCode addLink(const EventContext &ctx, const Identifier &rotId, PrdLinkVec &prdLinks) const
Tries to add the Link to the uncalibrated measurement corresponding to the passed ROT id.
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_prdLinkKey
Decoration key of the associated prep data objects.
SG::ReadHandleKey< PrdCont_t > MeasKey_t
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
const MuonGMR4::MuonDetectorManager * m_detMgr
virtual StatusCode initialize() override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_locParKey
Decoration key of the local parameters.
std::vector< PrdLink_t > PrdLinkVec
ElementLink< PrdCont_t > PrdLink_t
StatusCode fetchMeasurement(const EventContext &ctx, const MeasKey_t &key, const Identifier &measId, const xAOD::UncalibratedMeasurement *&meas) const
Tries to load the PrdCont_t from StoreGate and then to find the uncalibrated measurement with the sam...
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.
This header ties the generic definitions in this package.
UncalibratedMeasurementContainer_v1 UncalibratedMeasurementContainer
Define the version of the uncalibrated measurement container.
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.