ATLAS Offline Software
Loading...
Searching...
No Matches
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
8#include "GaudiKernel/ToolHandle.h"
11
18
19
20
21#include "vecmem/utils/cuda/copy.hpp"
22
23namespace ActsTrk {
41public:
42 using AthReentrantAlgorithm::AthReentrantAlgorithm;
43
45 virtual StatusCode initialize() override;
47 virtual StatusCode execute(const EventContext& ctx) const override;
48
49private:
50
53 Gaudi::Property<std::string> m_deviceDetectorName{
54 this, "DeviceDetectorName", "DetrayDeviceDetector",
55 "Detray device detector object"};
56
57
59 ToolHandle<IDeviceSPFormationAlgProviderTool> m_spAlgProviderTool{
60 this, "SPFormationAlgProviderTool", "",
61 "Tool providing the appropriate backend device spacepoint formation algorithm"};
62
63 ToolHandle<AthDevice::IMemoryResourceTool> m_deviceMR{
64 this, "DeviceMR", "",
65 "Device memory resource tool"};
66
69 this, "InputTracccMeasurements", "",
70 "Input traccc measurement collection buffer"};
71
75 this, "OutputTracccPixelSpacepoints", "",
76 "Output traccc pixel spacepoint collection buffer"};
77
78
79 // Device buffers — retrieved from detStore
80 const traccc::detector_buffer* m_deviceDetector{nullptr};
81
82};
83
84} // namespace ActsTrk
85
86#endif // ACTSGPUDATAPREPARATION_DEVICESPFORMATIONALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Algorithm executing traccc (pixel) spacepoint formation on the GPU.
virtual StatusCode initialize() override
Function initializing the algorithm.
const traccc::detector_buffer * m_deviceDetector
ToolHandle< AthDevice::IMemoryResourceTool > m_deviceMR
ToolHandle< IDeviceSPFormationAlgProviderTool > m_spAlgProviderTool
Gaudi::Property< std::string > m_deviceDetectorName
SG::WriteHandleKey< traccc::edm::spacepoint_collection::buffer > m_outputPixelSPKey
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::ReadHandleKey< traccc::edm::measurement_collection::const_view > m_inputMeasKey
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...