4#ifndef ACTSGPUEVENT_TRACCCMEASUREMENTCONVERTERALG_H
5#define ACTSGPUEVENT_TRACCCMEASUREMENTCONVERTERALG_H
14#include "traccc/edm/measurement_collection.hpp"
41#include "GaudiKernel/ToolHandle.h"
61 using AthReentrantAlgorithm::AthReentrantAlgorithm;
66 virtual StatusCode
execute(
const EventContext& ctx)
const override;
68 virtual StatusCode
finalize()
override;
74 this,
"ConvertClustersWithCells",
true,
75 "Whether to associate cells with the clusters."};
80 this,
"InputMeasurements",
"TracccMeasurements",
81 "Input traccc measurement collection buffer"};
83 this,
"InputClusters",
"TracccClusters",
84 "Input traccc cluster collection buffer"};
86 this,
"InputCells",
"TracccCells",
87 "Input traccc cell collection buffer"};
93 this,
"OutputPixelClusters",
"ITkTracccPixelClusters",
94 "Output xAOD pixel cluster container"};
96 this,
"OutputStripClusters",
"ITkTracccStripClusters",
97 "Output xAOD strip cluster container"};
101 ToolHandle<AthDevice::IMemoryResourceTool>
m_hostMR{
102 this,
"HostMR",
"",
"Host memory resource tool"};
105 this,
"CopyProviderTool",
"",
"Vecmem copy provider tool"};
108 this,
"DetectorDescriptionSvc",
"ActsTrk::JSONDeviceDetectorDescriptionProviderSvc"};
125 "Pixel-like ID helper name to retrieve from DetectorStore"};
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
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 converting traccc measurements (device buffer) to xAOD clusters (host container).
SG::ReadHandleKey< traccc::edm::measurement_collection::buffer > m_inputMeasKey
SG::WriteHandleKey< xAOD::StripClusterContainer > m_outputStripKey
virtual StatusCode finalize() override
Function finalizing the algorthm.
Gaudi::Property< bool > m_convertClustersWithCells
Gaudi::Property< std::string > m_idHelperName
std::atomic< int > m_nMeas
SG::ReadHandleKey< traccc::edm::silicon_cell_collection::buffer > m_inputCellsKey
SG::ReadHandleKey< traccc::edm::silicon_cluster_collection::buffer > m_inputClusterKey
ServiceHandle< ActsTrk::IDeviceDetectorDescriptionProviderSvc > m_detDescSvc
ToolHandle< AthDevice::IMemoryResourceTool > m_hostMR
std::atomic< int > m_nPix
The object counters for debug prints in finalize method {.
const PixelID * m_pixelID
Conversion helpers (to retrieve module design, hash, etc.) {.
const std::unordered_map< uint64_t, Identifier > * m_detrayToAthena
The athena <-> detray identifier map.
SG::WriteHandleKey< xAOD::PixelClusterContainer > m_outputPixelKey
ToolHandle< AthDevice::ICopyTool > m_copy
virtual StatusCode initialize() override
Function initializing the algorithm.
const InDetDD::SCT_DetectorManager * m_stripManager
const InDetDD::PixelDetectorManager * m_pixelManager
std::atomic< int > m_nStrip
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
An algorithm that can be simultaneously executed in multiple threads.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
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...