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
21namespace ActsTrk {
47public:
48 using AthReentrantAlgorithm::AthReentrantAlgorithm;
49
51 virtual StatusCode initialize() override;
53 virtual StatusCode execute(const EventContext& ctx) const override;
54
55private:
56
57 Gaudi::Property<bool> m_retrieveClusterCells{
58 this, "RetrieveClusterCells", true,
59 "Whether to retrieve cell indices associated to the clusters."};
60
62 Gaudi::Property<std::string> m_deviceDesignObjectName{
63 this, "DeviceDigitizationObjectName", "TracccDeviceDigitizationConfig",
64 "Traccc device digitization object"};
65 Gaudi::Property<std::string> m_deviceCondObjectName{
66 this, "DeviceConditionsObjectName", "TracccDeviceConditionsConfig",
67 "Traccc device conditions object"};
68
69
71 ToolHandle<IDeviceClusterizationAlgProviderTool> m_clusteringAlgProviderTool{
72 this, "ClusteringAlgProviderTool", "",
73 "Tool providing the appropriate backend device clusterization algorithm"};
74
75 ToolHandle<AthDevice::IMemoryResourceTool> m_deviceMR{
76 this, "DeviceMR", "",
77 "Device memory resource tool"};
78
81 this, "InputTracccCells", "",
82 "Input traccc cell collection buffer"};
83
87 this, "OutputTracccMeasurements", "",
88 "Output uncalibrated traccc measurement collection buffer"};
90 this, "OutputTracccClusters", "",
91 "Output uncalibrated traccc cluster collection buffer"};
92
93
94 // Device buffers — retrieved from detStore
95 const traccc::detector_design_description::const_view* m_deviceDesign{nullptr};
96 const traccc::detector_conditions_description::const_view* m_deviceCond{nullptr};
97
98};
99
100} // namespace ActsTrk
101
102#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...