ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonPatternRecognition
MuonTruthAlgsR4
src
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
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
9
#include "
xAODTruth/TruthParticleContainer.h
"
10
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/ReadDecorHandleKey.h
"
13
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
14
15
#include "
MuonRecToolInterfacesR4/ITrackSummaryTool.h
"
16
namespace
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 */
23
class
TruthHitSummaryAlg
:
public
AthReentrantAlgorithm
{
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"
};
33
SG::ReadDecorHandleKey<xAOD::TruthParticleContainer>
m_segLinkKey
{
this
,
"SegLinkKey"
,
m_readKey
,
"truthSegmentLinks"
};
35
ToolHandle<MuonR4::ITrackSummaryTool>
m_summaryTool
{
this
,
"SummaryTool"
,
""
};
36
};
37
}
38
39
#endif
AthReentrantAlgorithm.h
TruthParticleContainer.h
ITrackSummaryTool.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKeyArray.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonR4::TruthHitSummaryAlg
Definition
MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/src/TruthHitSummaryAlg.h:23
MuonR4::TruthHitSummaryAlg::initialize
virtual StatusCode initialize() override final
Definition
MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/src/TruthHitSummaryAlg.cxx:14
MuonR4::TruthHitSummaryAlg::m_readKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_readKey
input truth particle container
Definition
MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/src/TruthHitSummaryAlg.h:31
MuonR4::TruthHitSummaryAlg::m_summaryTool
ToolHandle< MuonR4::ITrackSummaryTool > m_summaryTool
The track summary tool filling the summary state from the associated segments.
Definition
MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/src/TruthHitSummaryAlg.h:35
MuonR4::TruthHitSummaryAlg::m_segLinkKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_segLinkKey
Dependency on the truth -> segment decoration.
Definition
MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/src/TruthHitSummaryAlg.h:33
MuonR4::TruthHitSummaryAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/src/TruthHitSummaryAlg.cxx:20
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
Generated on
for ATLAS Offline Software by
1.17.0