ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonPatternRecognition
MuonTruthAlgsR4
src
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
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
9
#include "
xAODMuonPrepData/MuonMeasurementContainer.h
"
10
#include "
xAODTruth/TruthParticleContainer.h
"
11
#include "
ActsEvent/MeasurementToTruthParticleAssociation.h
"
12
13
14
#include "
StoreGate/ReadHandleKey.h
"
15
#include "
StoreGate/ReadDecorHandleKey.h
"
16
#include "
StoreGate/WriteHandleKey.h
"
17
18
19
namespace
MuonR4
{
24
class
MeasTruthAssocMapProvider
:
public
AthReentrantAlgorithm
{
25
public
:
26
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
27
virtual
StatusCode
initialize
()
override
final
;
28
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
29
private
:
31
SG::ReadHandleKey<xAOD::MuonMeasurementContainer>
m_readKey
{
this
,
"PrdContainer"
,
"SetMe"
};
33
SG::ReadDecorHandleKey<xAOD::MuonMeasurementContainer>
m_linkKey
{
this
,
"LinkKey"
,
m_readKey
,
34
"simHitLink"
};
35
36
SG::ReadHandleKey<xAOD::TruthParticleContainer>
m_truthKey
{
this
,
"TruthKey"
,
"MuonTruthParticles"
};
38
SG::ReadDecorHandleKey<xAOD::TruthParticleContainer>
m_segLinkKey
{
this
,
"SegLinkKey"
,
m_truthKey
,
39
"truthSegmentLinks"
};
40
41
SG::WriteHandleKey<ActsTrk::MeasurementToTruthParticleAssociation>
m_writeKey
{
this
,
"AssociationMap"
,
""
};
42
};
43
44
}
45
46
47
#endif
AthReentrantAlgorithm.h
TruthParticleContainer.h
MeasurementToTruthParticleAssociation.h
MuonMeasurementContainer.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.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonR4::MeasTruthAssocMapProvider
The MeasurementTruthAssoMapProvider creates the Hit -> TruthAssociation maps which are used by the Tr...
Definition
MeasTruthAssocMapProvider.h:24
MuonR4::MeasTruthAssocMapProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MeasTruthAssocMapProvider.cxx:22
MuonR4::MeasTruthAssocMapProvider::initialize
virtual StatusCode initialize() override final
Definition
MeasTruthAssocMapProvider.cxx:13
MuonR4::MeasTruthAssocMapProvider::m_readKey
SG::ReadHandleKey< xAOD::MuonMeasurementContainer > m_readKey
Declare the container for which the Association map shall be built.
Definition
MeasTruthAssocMapProvider.h:31
MuonR4::MeasTruthAssocMapProvider::m_truthKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthKey
The dependency on the truth particle container.
Definition
MeasTruthAssocMapProvider.h:36
MuonR4::MeasTruthAssocMapProvider::m_linkKey
SG::ReadDecorHandleKey< xAOD::MuonMeasurementContainer > m_linkKey
Declare the dependency on the associated sim hit.
Definition
MeasTruthAssocMapProvider.h:33
MuonR4::MeasTruthAssocMapProvider::m_segLinkKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_segLinkKey
Dependency on the TruthSegment -> TruthParticle association.
Definition
MeasTruthAssocMapProvider.h:38
MuonR4::MeasTruthAssocMapProvider::m_writeKey
SG::WriteHandleKey< ActsTrk::MeasurementToTruthParticleAssociation > m_writeKey
Name of the written association map.
Definition
MeasTruthAssocMapProvider.h:41
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
MuonR4
This header ties the generic definitions in this package.
Definition
FastRecoUtils.h:12
Generated on
for ATLAS Offline Software by
1.17.0