ATLAS Offline Software
SegmentFitParDecorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONSEGMENTCNV_SEGMENTFITPARDECORALG_H
5 #define MUONSEGMENTCNV_SEGMENTFITPARDECORALG_H
6 
11 
16 namespace MuonR4{
20  public:
22 
23  virtual StatusCode initialize() override final;
24  virtual StatusCode execute(const EventContext& ctx) const override final;
25  private:
31  template <class ContType>
32  StatusCode retrieveContainer(const EventContext& ctx,
34  const ContType*& contPtr) const;
35 
37  StatusCode fetchMeasurement(const EventContext& ctx,
38  const MeasKey_t& key,
39  const Identifier& measId,
40  const xAOD::UncalibratedMeasurement*& meas) const;
42  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
43 
44  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
45 
47 
49 
54 
55  MeasKey_t m_keyTgc{this, "TgcKey", "xTgcStrips"};
56  MeasKey_t m_keyRpc{this, "RpcKey", "xRpcMeasurements"};
57  MeasKey_t m_keyMdt{this, "MdtKey", "xMdtMeasurements"};
58  MeasKey_t m_keysTgc{this, "sTgcKey", "STGC_Measurements"};
59  MeasKey_t m_keyMM{this, "MmKey", "xAODMMClusters"};
60 
61  };
62 }
63 
64 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
MuonR4::SegmentFitParDecorAlg::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Definition: SegmentFitParDecorAlg.h:46
MuonR4::SegmentFitParDecorAlg::m_keyMdt
MeasKey_t m_keyMdt
Definition: SegmentFitParDecorAlg.h:57
MuonR4::SegmentFitParDecorAlg::m_keyMM
MeasKey_t m_keyMM
Definition: SegmentFitParDecorAlg.h:59
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
ActsGeometryContext.h
MuonR4::SegmentFitParDecorAlg::m_prdLinkKey
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_prdLinkKey
Decoration key of the associated prep data objects.
Definition: SegmentFitParDecorAlg.h:53
MuonR4::SegmentFitParDecorAlg::m_keysTgc
MeasKey_t m_keysTgc
Definition: SegmentFitParDecorAlg.h:58
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuonR4::SegmentFitParDecorAlg::m_keyTgc
MeasKey_t m_keyTgc
Definition: SegmentFitParDecorAlg.h:55
MuonR4::SegmentFitParDecorAlg::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: SegmentFitParDecorAlg.h:44
MuonR4::SegmentFitParDecorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SegmentFitParDecorAlg.cxx:73
MuonSegmentContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
UncalibratedMeasurementContainer.h
MuonDetectorManager.h
MuonR4::SegmentFitParDecorAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: SegmentFitParDecorAlg.h:41
MuonR4::SegmentFitParDecorAlg::m_segmentKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segmentKey
Definition: SegmentFitParDecorAlg.h:48
MuonR4::SegmentFitParDecorAlg
Algorithm to decorate the segment fit parameters in the chamber's frame onto the xAOD::MuonSegment Ad...
Definition: SegmentFitParDecorAlg.h:19
MuonR4::SegmentFitParDecorAlg::retrieveContainer
StatusCode retrieveContainer(const EventContext &ctx, const SG::ReadHandleKey< ContType > &key, const ContType *&contPtr) const
Loads a container from the StoreGate and returns whether the retrieval is successful.
AthReentrantAlgorithm.h
MuonR4::SegmentFitParDecorAlg::initialize
virtual StatusCode initialize() override final
Definition: SegmentFitParDecorAlg.cxx:37
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::SegmentFitParDecorAlg::m_keyRpc
MeasKey_t m_keyRpc
Definition: SegmentFitParDecorAlg.h:56
MuonR4::SegmentFitParDecorAlg::m_locParKey
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_locParKey
Decoration key of the local parameters.
Definition: SegmentFitParDecorAlg.h:51
MuonR4::SegmentFitParDecorAlg::fetchMeasurement
StatusCode fetchMeasurement(const EventContext &ctx, const MeasKey_t &key, const Identifier &measId, const xAOD::UncalibratedMeasurement *&meas) const
Definition: SegmentFitParDecorAlg.cxx:51
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
Identifier
Definition: IdentifierFieldParser.cxx:14