ATLAS Offline Software
Loading...
Searching...
No Matches
DeviceClusterizationAlg.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_DEVICECLUSTERIZATIONALG_H
5#define ACTSGPUDATAPREPARATION_DEVICECLUSTERIZATIONALG_H
6
8#include "GaudiKernel/ToolHandle.h"
11
20
21#include "vecmem/utils/cuda/copy.hpp"
22
23namespace ActsTrk {
49public:
50 using AthReentrantAlgorithm::AthReentrantAlgorithm;
51
53 virtual StatusCode initialize() override;
55 virtual StatusCode execute(const EventContext& ctx) const override;
56
57private:
58
59 Gaudi::Property<bool> m_retrieveClusterCells{
60 this, "RetrieveClusterCells", true,
61 "Whether to retrieve cell indices associated to the clusters."};
62
64 Gaudi::Property<std::string> m_deviceDesignObjectName{
65 this, "DeviceDigitizationObjectName", "TracccDeviceDigitizationConfig",
66 "Traccc device digitization object"};
67 Gaudi::Property<std::string> m_deviceCondObjectName{
68 this, "DeviceConditionsObjectName", "TracccDeviceConditionsConfig",
69 "Traccc device conditions object"};
70
71
73 ToolHandle<IDeviceClusterizationAlgProviderTool> m_clusteringAlgProviderTool{
74 this, "ClusteringAlgProviderTool", "",
75 "Tool providing the appropriate backend device clusterization algorithm"};
76
77 ToolHandle<AthDevice::IMemoryResourceTool> m_deviceMR{
78 this, "DeviceMR", "",
79 "Device memory resource tool"};
80
83 this, "InputTracccCells", "",
84 "Input traccc cell collection buffer"};
85
89 this, "OutputTracccMeasurements", "",
90 "Output uncalibrated traccc measurement collection buffer"};
92 this, "OutputTracccClusters", "",
93 "Output uncalibrated traccc cluster collection buffer"};
94
95
96 // Device buffers — retrieved from detStore
97 const traccc::detector_design_description::const_view* m_deviceDesign{nullptr};
98 const traccc::detector_conditions_description::const_view* m_deviceCond{nullptr};
99
100};
101
102} // namespace ActsTrk
103
104#endif // ACTSGPUDATAPREPARATION_DEVICECLUSTERIZATIONALG_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 clusterization and measurement sorting on the GPU.
Gaudi::Property< std::string > m_deviceCondObjectName
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::WriteHandleKey< traccc::edm::measurement_collection::buffer > m_outputMeasKey
SG::WriteHandleKey< traccc::edm::silicon_cluster_collection::buffer > m_outputClusterKey
virtual StatusCode initialize() override
Function initializing the algorithm.
const traccc::detector_design_description::const_view * m_deviceDesign
ToolHandle< IDeviceClusterizationAlgProviderTool > m_clusteringAlgProviderTool
const traccc::detector_conditions_description::const_view * m_deviceCond
Gaudi::Property< std::string > m_deviceDesignObjectName
Gaudi::Property< bool > m_retrieveClusterCells
SG::ReadHandleKey< traccc::edm::silicon_cell_collection::const_view > m_inputCellsKey
ToolHandle< AthDevice::IMemoryResourceTool > m_deviceMR
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...