ATLAS Offline Software
Loading...
Searching...
No Matches
TracccSeedConverterAlg.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 ACTSGPUEVENT_TRACCCSEEDCONVERTERALG_H
5#define ACTSGPUEVENT_TRACCCSEEDCONVERTERALG_H
6
10
14
17
20
21#include "GaudiKernel/ToolHandle.h"
22
23namespace ActsTrk {
24
39{
40public:
41 using AthReentrantAlgorithm::AthReentrantAlgorithm;
42
44 virtual StatusCode initialize() override;
46 virtual StatusCode execute(const EventContext& ctx) const override;
48 virtual StatusCode finalize() override;
49
50private:
51
55 this, "InputSpacepoints", "TracccSpacepoints",
56 "Input traccc SP collection buffer"};
58 this, "InputSpacepointsDevice", "TracccSpacepointsDevice",
59 "Input traccc SP collection device buffer"};
61 this, "InputMeasToPixelSP", "TracccMeasToPixelSP",
62 "Input mapping from traccc measurement index to pixel spacepoint index"};
64 this, "InputSeeds", "TracccSeeds",
65 "Input traccc seed collection buffer"};
66
67
71 this, "OutputSeeds", "ITkTracccSeeds",
72 "Output ACTS seeds container"};
73
74
76 ToolHandle<AthDevice::IMemoryResourceTool> m_hostMR{
77 this, "HostMR", "", "Host memory resource tool"};
78
79 ToolHandle<AthDevice::ICopyTool> m_copy{
80 this, "CopyProviderTool", "", "Vecmem copy provider tool"};
81
84 mutable std::atomic<int> m_nSP = 0;
85 mutable std::atomic<int> m_nSeeds = 0;
87
88};
89
90} // namespace ActsTrk
91
92#endif // ACTSGPUEVENT_TRACCCSEEDCONVERTERALG_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 converting traccc seeds (device buffer) to ACTS seeds (host container).
ToolHandle< AthDevice::IMemoryResourceTool > m_hostMR
ToolHandle< AthDevice::ICopyTool > m_copy
virtual StatusCode initialize() override
Function initializing the algorithm.
std::atomic< int > m_nSP
The object counters for debug prints in finalize method {.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
SG::ReadHandleKey< xAOD::SpacePointContainer > m_inputSPKey
virtual StatusCode finalize() override
Function finalizing the algorthm.
SG::ReadHandleKey< traccc::edm::spacepoint_collection::buffer > m_inputSPDeviceKey
SG::ReadHandleKey< traccc::edm::seed_collection::buffer > m_inputSeedsKey
SG::WriteHandleKey< ActsTrk::SeedContainer > m_outputSeedsKey
SG::ReadHandleKey< std::vector< unsigned int > > m_inputMeasToPixelSPKey
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...