4#ifndef ACTSGPUDATAPREPARATION_DEVICECLUSTERIZATIONALG_H
5#define ACTSGPUDATAPREPARATION_DEVICECLUSTERIZATIONALG_H
8#include "GaudiKernel/ToolHandle.h"
21#include "vecmem/utils/cuda/copy.hpp"
50 using AthReentrantAlgorithm::AthReentrantAlgorithm;
55 virtual StatusCode
execute(
const EventContext& ctx)
const override;
60 this,
"RetrieveClusterCells",
true,
61 "Whether to retrieve cell indices associated to the clusters."};
65 this,
"DeviceDigitizationObjectName",
"TracccDeviceDigitizationConfig",
66 "Traccc device digitization object"};
68 this,
"DeviceConditionsObjectName",
"TracccDeviceConditionsConfig",
69 "Traccc device conditions object"};
74 this,
"ClusteringAlgProviderTool",
"",
75 "Tool providing the appropriate backend device clusterization algorithm"};
79 "Device memory resource tool"};
83 this,
"InputTracccCells",
"",
84 "Input traccc cell collection buffer"};
89 this,
"OutputTracccMeasurements",
"",
90 "Output uncalibrated traccc measurement collection buffer"};
92 this,
"OutputTracccClusters",
"",
93 "Output uncalibrated traccc cluster collection buffer"};
97 const traccc::detector_design_description::const_view*
m_deviceDesign{
nullptr};
98 const traccc::detector_conditions_description::const_view*
m_deviceCond{
nullptr};
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...