ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTruthTracks
TrkTruthTrackAlgs
src
TruthTrackCreation.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TruthTrackCreation.h, (c) ATLAS Detector software
8
9
#ifndef TRKTRUTHTRACKALGS_TRUTHTRACKCREATION_H
10
#define TRKTRUTHTRACKALGS_TRUTHTRACKCREATION_H
11
12
// Gaudi includes
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
15
// GaudiHandle
16
#include "GaudiKernel/ToolHandle.h"
17
#include <string>
18
19
#include "
StoreGate/WriteHandleKey.h
"
20
#include "
TrkTrack/TrackCollection.h
"
21
22
#include "
TrkToolInterfaces/IExtendedTrackSummaryTool.h
"
23
#include "
TrkToolInterfaces/IPRDtoTrackMapTool.h
"
24
25
class
AtlasDetectorID
;
26
27
namespace
Trk
28
{
29
30
class
IPRD_TruthTrajectoryBuilder
;
31
class
IPRD_TruthTrajectorySelector
;
32
class
ITruthTrackBuilder
;
33
class
ITrackSelectorTool
;
34
class
ITrackSummaryTool
;
35
46
47
class
TruthTrackCreation
:
public
AthReentrantAlgorithm
48
{
49
public
:
50
52
TruthTrackCreation
(
const
std::string& name, ISvcLocator* pSvcLocator);
54
~TruthTrackCreation
();
55
57
StatusCode
initialize
();
59
StatusCode
execute
(
const
EventContext& ctx)
const
;
61
StatusCode
finalize
();
62
63
private
:
64
65
SG::WriteHandleKey<TrackCollection>
m_outputTrackCollectionName
{
this
,
"OutputTrackCollection"
,
"TruthTracks"
,
"Output Truth Track Collection"
};
66
SG::WriteHandleKey<TrackCollection>
m_skippedTrackCollectionName
{
this
,
"OutputSkippedTrackCollection"
,
"SkippedTruthTracks"
,
"Output Skipped Truth Track Collection"
};
67
68
ToolHandle<Trk::IPRD_TruthTrajectoryBuilder>
m_prdTruthTrajectoryBuilder
;
69
ToolHandle<Trk::ITruthTrackBuilder>
m_truthTrackBuilder
;
70
71
ToolHandleArray<Trk::IPRD_TruthTrajectorySelector>
m_prdTruthTrajectorySelectors
;
72
ToolHandleArray<Trk::ITrackSelectorTool>
m_trackSelectors
;
73
ToolHandle<Trk::IPRDtoTrackMapTool>
m_assoTool
74
{
this
,
"AssociationTool"
,
"InDet::InDetPRDtoTrackMapToolGangedPixels"
};
75
76
ToolHandle<Trk::IExtendedTrackSummaryTool>
m_trackSummaryTool
;
77
78
};
79
}
// end of namespace
80
81
#endif
AthReentrantAlgorithm.h
IExtendedTrackSummaryTool.h
IPRDtoTrackMapTool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Trk::IPRD_TruthTrajectoryBuilder
The interface for the truth PRD trajectory finder.
Definition
IPRD_TruthTrajectoryBuilder.h:28
Trk::IPRD_TruthTrajectorySelector
The interface for the truth PRD trajectory selector.
Definition
IPRD_TruthTrajectorySelector.h:30
Trk::ITrackSelectorTool
The abstract interface base class for track selector tools.
Definition
ITrackSelectorTool.h:35
Trk::ITrackSummaryTool
Interface for condensing Trk::Track properties and associated hits to a (non-fittable) foot print,...
Definition
Tracking/TrkTools/TrkToolInterfaces/TrkToolInterfaces/ITrackSummaryTool.h:25
Trk::ITruthTrackBuilder
The interface for the truth track finder.
Definition
ITruthTrackBuilder.h:32
Trk::TruthTrackCreation::m_truthTrackBuilder
ToolHandle< Trk::ITruthTrackBuilder > m_truthTrackBuilder
truth tools
Definition
TruthTrackCreation.h:69
Trk::TruthTrackCreation::m_skippedTrackCollectionName
SG::WriteHandleKey< TrackCollection > m_skippedTrackCollectionName
Definition
TruthTrackCreation.h:66
Trk::TruthTrackCreation::execute
StatusCode execute(const EventContext &ctx) const
standard Athena-Algorithm method
Definition
TruthTrackCreation.cxx:92
Trk::TruthTrackCreation::TruthTrackCreation
TruthTrackCreation(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition
TruthTrackCreation.cxx:22
Trk::TruthTrackCreation::~TruthTrackCreation
~TruthTrackCreation()
Default Destructor.
Trk::TruthTrackCreation::initialize
StatusCode initialize()
standard Athena-Algorithm method
Definition
TruthTrackCreation.cxx:46
Trk::TruthTrackCreation::m_outputTrackCollectionName
SG::WriteHandleKey< TrackCollection > m_outputTrackCollectionName
Definition
TruthTrackCreation.h:65
Trk::TruthTrackCreation::finalize
StatusCode finalize()
standard Athena-Algorithm method
Definition
TruthTrackCreation.cxx:84
Trk::TruthTrackCreation::m_assoTool
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
Definition
TruthTrackCreation.h:74
Trk::TruthTrackCreation::m_prdTruthTrajectoryBuilder
ToolHandle< Trk::IPRD_TruthTrajectoryBuilder > m_prdTruthTrajectoryBuilder
truth tools
Definition
TruthTrackCreation.h:68
Trk::TruthTrackCreation::m_trackSelectors
ToolHandleArray< Trk::ITrackSelectorTool > m_trackSelectors
track selectors for a posteriory track selection
Definition
TruthTrackCreation.h:72
Trk::TruthTrackCreation::m_trackSummaryTool
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trackSummaryTool
summary tool for completing the track
Definition
TruthTrackCreation.h:76
Trk::TruthTrackCreation::m_prdTruthTrajectorySelectors
ToolHandleArray< Trk::IPRD_TruthTrajectorySelector > m_prdTruthTrajectorySelectors
PRD truth trajectory selectors.
Definition
TruthTrackCreation.h:71
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0