ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUDataPreparation
src
DeviceSPFormationAlg.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 ACTSGPUDATAPREPARATION_DEVICESPFORMATIONALG_H
5
#define ACTSGPUDATAPREPARATION_DEVICESPFORMATIONALG_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 "
IDeviceSPFormationAlgProviderTool.h
"
13
#include "
AthDeviceInterfaces/IMemoryResourceTool.h
"
14
#include "
AthDeviceInterfaces/ICopyTool.h
"
15
#include "
ActsGPUEvent/TracccDetectorGeometryDescription.h
"
16
#include "
ActsGPUEvent/TracccMeasurementCollection.h
"
17
#include "
ActsGPUEvent/TracccSpacepointCollection.h
"
18
19
namespace
ActsTrk
{
36
class
DeviceSPFormationAlg
:
public
AthReentrantAlgorithm
{
37
public
:
38
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
39
41
virtual
StatusCode
initialize
()
override
;
43
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
44
45
private
:
46
49
Gaudi::Property<std::string>
m_deviceDetectorName
{
50
this
,
"DeviceDetectorName"
,
"DetrayDeviceDetector"
,
51
"Detray device detector object"
};
52
53
55
ToolHandle<IDeviceSPFormationAlgProviderTool>
m_spAlgProviderTool
{
56
this
,
"SPFormationAlgProviderTool"
,
""
,
57
"Tool providing the appropriate backend device spacepoint formation algorithm"
};
58
59
ToolHandle<AthDevice::IMemoryResourceTool>
m_deviceMR
{
60
this
,
"DeviceMR"
,
""
,
61
"Device memory resource tool"
};
62
64
SG::ReadHandleKey<traccc::edm::measurement_collection::const_view>
m_inputMeasKey
{
65
this
,
"InputTracccMeasurements"
,
""
,
66
"Input traccc measurement collection buffer"
};
67
70
SG::WriteHandleKey<traccc::edm::spacepoint_collection::buffer>
m_outputPixelSPKey
{
71
this
,
"OutputTracccPixelSpacepoints"
,
""
,
72
"Output traccc pixel spacepoint collection buffer"
};
73
74
75
// Device buffers — retrieved from detStore
76
const
traccc::detector_buffer*
m_deviceDetector
{
nullptr
};
77
78
};
79
80
}
// namespace ActsTrk
81
82
#endif
// ACTSGPUDATAPREPARATION_DEVICESPFORMATIONALG_H
AthReentrantAlgorithm.h
ICopyTool.h
IDeviceSPFormationAlgProviderTool.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
TracccMeasurementCollection.h
TracccSpacepointCollection.h
ActsTrk::DeviceSPFormationAlg
Algorithm executing traccc (pixel) spacepoint formation on the GPU.
Definition
DeviceSPFormationAlg.h:36
ActsTrk::DeviceSPFormationAlg::initialize
virtual StatusCode initialize() override
Function initializing the algorithm.
Definition
DeviceSPFormationAlg.cxx:19
ActsTrk::DeviceSPFormationAlg::m_deviceDetector
const traccc::detector_buffer * m_deviceDetector
Definition
DeviceSPFormationAlg.h:76
ActsTrk::DeviceSPFormationAlg::m_deviceMR
ToolHandle< AthDevice::IMemoryResourceTool > m_deviceMR
Definition
DeviceSPFormationAlg.h:59
ActsTrk::DeviceSPFormationAlg::m_spAlgProviderTool
ToolHandle< IDeviceSPFormationAlgProviderTool > m_spAlgProviderTool
Definition
DeviceSPFormationAlg.h:55
ActsTrk::DeviceSPFormationAlg::m_deviceDetectorName
Gaudi::Property< std::string > m_deviceDetectorName
Definition
DeviceSPFormationAlg.h:49
ActsTrk::DeviceSPFormationAlg::m_outputPixelSPKey
SG::WriteHandleKey< traccc::edm::spacepoint_collection::buffer > m_outputPixelSPKey
Definition
DeviceSPFormationAlg.h:70
ActsTrk::DeviceSPFormationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition
DeviceSPFormationAlg.cxx:34
ActsTrk::DeviceSPFormationAlg::m_inputMeasKey
SG::ReadHandleKey< traccc::edm::measurement_collection::const_view > m_inputMeasKey
Definition
DeviceSPFormationAlg.h:64
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