ATLAS Offline Software
Loading...
Searching...
No Matches
MeasTruthAssocMapProvider.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONTRUTHALGSR4_MeasTruthAssocMapProvider_H
5#define MUONTRUTHALGSR4_MeasTruthAssocMapProvider_H
6
8
12
13
17
18
19namespace MuonR4 {
25 public:
26 using AthReentrantAlgorithm::AthReentrantAlgorithm;
27 virtual StatusCode initialize() override final;
28 virtual StatusCode execute(const EventContext& ctx) const override final;
29 private:
35
36 SG::ReadHandleKey<xAOD::TruthParticleContainer> m_truthKey{this, "TruthKey", "MuonTruthParticles"};
40
42 };
43
44}
45
46
47#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle 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 MeasurementTruthAssoMapProvider creates the Hit -> TruthAssociation maps which are used by the Tr...
virtual StatusCode execute(const EventContext &ctx) const override final
virtual StatusCode initialize() override final
SG::ReadHandleKey< xAOD::MuonMeasurementContainer > m_readKey
Declare the container for which the Association map shall be built.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthKey
The dependency on the truth particle container.
SG::ReadDecorHandleKey< xAOD::MuonMeasurementContainer > m_linkKey
Declare the dependency on the associated sim hit.
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_segLinkKey
Dependency on the TruthSegment -> TruthParticle association.
SG::WriteHandleKey< ActsTrk::MeasurementToTruthParticleAssociation > m_writeKey
Name of the written association map.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
This header ties the generic definitions in this package.