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-2025 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{
18 public:
19 using AthReentrantAlgorithm::AthReentrantAlgorithm;
20 virtual StatusCode initialize() override final;
21 virtual StatusCode execute(const EventContext& ctx) const override final;
22
23 private:
25 SG::ReadHandleKey<xAOD::TruthParticleContainer> m_readKey{this, "ReadKey", "MuonTruthParticles"};
31 ToolHandle<MuonR4::ITrackSummaryTool> m_summaryTool{this, "SummaryTool" ,""};
32 };
33}
34
35#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::WriteDecorHandleKeyArray< xAOD::TruthParticleContainer > m_hitDecorKeys
Declare the decorations written by this algorithm.
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.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray