ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUPatternRecognition
src
DeviceTripletSeedingAlg.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 ACTSGPUPATTERNRECOGNITION_DEVICETRIPLETSEEDINGALG_H
5
#define ACTSGPUPATTERNRECOGNITION_DEVICETRIPLETSEEDINGALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "GaudiKernel/ToolHandle.h"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/WriteHandleKey.h
"
11
12
#include "
IDeviceSeedingAlgProviderTool.h
"
13
#include "
AthDeviceInterfaces/IMemoryResourceTool.h
"
14
#include "
AthDeviceInterfaces/ICopyTool.h
"
15
#include "
ActsGPUEvent/TracccDetectorGeometryDescription.h
"
16
#include "
ActsGPUEvent/TracccSpacepointCollection.h
"
17
#include "
ActsGPUEvent/TracccSeedCollection.h
"
18
19
#include "vecmem/utils/cuda/copy.hpp"
20
21
template
<
typename
scalar_t>
22
using
unit
= detray::unit<scalar_t>;
23
24
namespace
ActsTrk
{
41
class
DeviceTripletSeedingAlg
:
public
AthReentrantAlgorithm
{
42
public
:
43
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
44
46
virtual
StatusCode
initialize
()
override
;
48
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
49
50
private
:
51
52
virtual
StatusCode
configureTripletSeeder
();
53
55
ToolHandle<IDeviceSeedingAlgProviderTool>
m_seedingAlgProviderTool
{
56
this
,
"SeedingAlgProviderTool"
,
""
,
57
"Tool providing the appropriate backend device seeding algorithm"
};
58
59
ToolHandle<AthDevice::IMemoryResourceTool>
m_deviceMR
{
60
this
,
"DeviceMR"
,
""
,
61
"Device memory resource tool"
};
62
64
SG::ReadHandleKey<traccc::edm::spacepoint_collection::const_view>
m_inputPixelSPKey
{
65
this
,
"InputTracccPixelSpacepoints"
,
""
,
66
"Input traccc spacepoint collection buffer"
};
67
70
SG::WriteHandleKey<traccc::edm::seed_collection::buffer>
m_outputPixelSeedsKey
{
71
this
,
"OutputTracccPixelSeeds"
,
""
,
72
"Output traccc pixel seed collection buffer"
};
73
74
75
traccc::seedfinder_config
m_seedfinder
;
76
traccc::seedfilter_config
m_seedfilter
;
77
78
};
79
80
}
// namespace ActsTrk
81
82
#endif
// ACTSGPUPATTERNRECOGNITION_DEVICETRIPLETSEEDINGALG_H
AthReentrantAlgorithm.h
unit
detray::unit< scalar_t > unit
Definition
DeviceTripletSeedingAlg.h:22
ICopyTool.h
IDeviceSeedingAlgProviderTool.h
IMemoryResourceTool.h
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.
TracccDetectorGeometryDescription.h
TracccSeedCollection.h
TracccSpacepointCollection.h
ActsTrk::DeviceTripletSeedingAlg
Definition
DeviceTripletSeedingAlg.h:41
ActsTrk::DeviceTripletSeedingAlg::configureTripletSeeder
virtual StatusCode configureTripletSeeder()
Definition
DeviceTripletSeedingAlg.cxx:35
ActsTrk::DeviceTripletSeedingAlg::m_seedingAlgProviderTool
ToolHandle< IDeviceSeedingAlgProviderTool > m_seedingAlgProviderTool
Definition
DeviceTripletSeedingAlg.h:55
ActsTrk::DeviceTripletSeedingAlg::m_inputPixelSPKey
SG::ReadHandleKey< traccc::edm::spacepoint_collection::const_view > m_inputPixelSPKey
Definition
DeviceTripletSeedingAlg.h:64
ActsTrk::DeviceTripletSeedingAlg::m_seedfinder
traccc::seedfinder_config m_seedfinder
Definition
DeviceTripletSeedingAlg.h:75
ActsTrk::DeviceTripletSeedingAlg::m_outputPixelSeedsKey
SG::WriteHandleKey< traccc::edm::seed_collection::buffer > m_outputPixelSeedsKey
Definition
DeviceTripletSeedingAlg.h:70
ActsTrk::DeviceTripletSeedingAlg::m_seedfilter
traccc::seedfilter_config m_seedfilter
Definition
DeviceTripletSeedingAlg.h:76
ActsTrk::DeviceTripletSeedingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition
DeviceTripletSeedingAlg.cxx:80
ActsTrk::DeviceTripletSeedingAlg::initialize
virtual StatusCode initialize() override
Function initializing the algorithm.
Definition
DeviceTripletSeedingAlg.cxx:20
ActsTrk::DeviceTripletSeedingAlg::m_deviceMR
ToolHandle< AthDevice::IMemoryResourceTool > m_deviceMR
Definition
DeviceTripletSeedingAlg.h:59
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
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
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Generated on
for ATLAS Offline Software by
1.17.0