ATLAS Offline Software
Loading...
Searching...
No Matches
MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/src/TruthHitSummaryAlg.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_TRUTHHITSUMMARYALG_H
5#define MUONTRUTHALGSR4_TRUTHHITSUMMARYALG_H
6
8
10
14
16namespace MuonR4{
17 /*** @brief Algorithm that takes the hit summaries from the truth segments
18 * associated to the muon truth particles and transforms them into
19 * a TrackSummary object. The track summary object is then decorated
20 * onto the TruthParticle. @note The summary decorations are not locked
21 * and need to be locked by the `LockDecorations` algorithm. Its scheduling
22 * needs to be explicitly configured */
24 public:
25 using AthReentrantAlgorithm::AthReentrantAlgorithm;
26 virtual StatusCode initialize() override final;
27 virtual StatusCode execute(const EventContext& ctx) const override final;
28
29 private:
31 SG::ReadHandleKey<xAOD::TruthParticleContainer> m_readKey{this, "ReadKey", "MuonTruthParticles"};
35 ToolHandle<MuonR4::ITrackSummaryTool> m_summaryTool{this, "SummaryTool" ,""};
36 };
37}
38
39#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.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_readKey
input truth particle container
ToolHandle< MuonR4::ITrackSummaryTool > m_summaryTool
The track summary tool filling the summary state from the associated segments.
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_segLinkKey
Dependency on the truth -> segment decoration.
virtual StatusCode execute(const EventContext &ctx) const override final
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.
This header ties the generic definitions in this package.