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
19namespace ActsTrk {
37public:
38 using AthReentrantAlgorithm::AthReentrantAlgorithm;
39
41 virtual StatusCode initialize() override;
43 virtual StatusCode execute(const EventContext& ctx) const override;
44
45private:
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
65 this, "InputTracccMeasurements", "",
66 "Input traccc measurement collection buffer"};
67
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
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...