ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonTrackBuilding
MuonTrackFindingTools
src
TruthTrackSeederTool.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 MUONTRACKFINDINGTOOLS_TRUTHTRACKSEEDERTOOL_H
5
#define MUONTRACKFINDINGTOOLS_TRUTHTRACKSEEDERTOOL_H
6
7
8
#include "
GeoPrimitives/GeoPrimitives.h
"
10
#include "
MuonRecToolInterfacesR4/ITrackSeedingTool.h
"
11
12
#include "
AthenaBaseComps/AthAlgTool.h
"
13
14
#include "
xAODMuon/MuonSegmentContainer.h
"
15
#include "
StoreGate/ReadDecorHandleKey.h
"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
18
#include "
ActsEvent/ContextUtility.h
"
19
20
21
namespace
MuonR4
{
28
class
TruthTrackSeederTool
:
public
extends<AthAlgTool, ITrackSeedingTool> {
29
public
:
31
using
base_class::base_class;
33
virtual
StatusCode
initialize
()
override
final
;
35
virtual
StatusCode
findTrackSeeds
(
const
EventContext& ctx,
36
std::vector<MsTrackSeed>& outSeeds)
const
override
final
;
38
virtual
Acts::Result<Acts::BoundTrackParameters>
39
estimateStartParameters
(
const
EventContext& ctx,
40
const
MsTrackSeed
& seed)
const
override
final
;
41
private
:
44
SG::ReadHandleKey<xAOD::MuonSegmentContainer>
m_segmentKey
{
this
,
"SegmentContainer"
,
"MuonSegmentsFromR4"
};
46
SG::ReadDecorHandleKey<xAOD::MuonSegmentContainer>
m_truthLinkKey
{
this
,
"TruthLinkKey"
,
m_segmentKey
,
"truthParticleLink"
};
48
MuonGMR4::MuonDetectorManager
*
m_detMgr
{
nullptr
};
50
ActsTrk::ContextUtility
m_ctxProvider
{
this
};
51
};
52
}
53
#endif
ContextUtility.h
AthAlgTool.h
GeoPrimitives.h
ITrackSeedingTool.h
MuonDetectorManager.h
MuonSegmentContainer.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.
ActsTrk::ContextUtility
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
Definition
ActsGeometry/ActsGeometry/ContextUtility.h:27
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
MuonR4::MsTrackSeed
Definition
MsTrackSeed.h:22
MuonR4::TruthTrackSeederTool
The TruthTrackSeederTool combines the Segments based on their common truthParticleLink.
Definition
TruthTrackSeederTool.h:28
MuonR4::TruthTrackSeederTool::m_ctxProvider
ActsTrk::ContextUtility m_ctxProvider
Context utility to retrieve the geometry context.
Definition
TruthTrackSeederTool.h:50
MuonR4::TruthTrackSeederTool::m_segmentKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segmentKey
Declare the data dependency on the standard Mdt+Rpc+Tgc segment container & on the NSW segment contai...
Definition
TruthTrackSeederTool.h:44
MuonR4::TruthTrackSeederTool::estimateStartParameters
virtual Acts::Result< Acts::BoundTrackParameters > estimateStartParameters(const EventContext &ctx, const MsTrackSeed &seed) const override final
Estimate the start track parameters for a given track seed.
Definition
TruthTrackSeederTool.cxx:77
MuonR4::TruthTrackSeederTool::initialize
virtual StatusCode initialize() override final
Definition
TruthTrackSeederTool.cxx:32
MuonR4::TruthTrackSeederTool::findTrackSeeds
virtual StatusCode findTrackSeeds(const EventContext &ctx, std::vector< MsTrackSeed > &outSeeds) const override final
Retrieves the segment container from StoreGate and constructs TrackSeeds from them.
Definition
TruthTrackSeederTool.cxx:39
MuonR4::TruthTrackSeederTool::m_truthLinkKey
SG::ReadDecorHandleKey< xAOD::MuonSegmentContainer > m_truthLinkKey
Dependency on the truth particle link.
Definition
TruthTrackSeederTool.h:46
MuonR4::TruthTrackSeederTool::m_detMgr
MuonGMR4::MuonDetectorManager * m_detMgr
Instance to the muon detector manager.
Definition
TruthTrackSeederTool.h:48
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
FastRecoUtils.h:12
Generated on
for ATLAS Offline Software by
1.17.0