ATLAS Offline Software
Loading...
Searching...
No Matches
DeviceTrackFindingAlg.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 ACTSGPUPATTERNRECOGNITION_DEVICETRACKFINDINGALG_H
5#define ACTSGPUPATTERNRECOGNITION_DEVICETRACKFINDINGALG_H
6
8#include "GaudiKernel/ToolHandle.h"
11
21
22namespace ActsTrk {
39public:
40 using AthReentrantAlgorithm::AthReentrantAlgorithm;
41
43 virtual StatusCode initialize() override;
45 virtual StatusCode execute(const EventContext& ctx) const override;
46
47private:
48
49 virtual StatusCode configureTrackFinding();
50
52 ToolHandle<IDeviceTrackFindingAlgProviderTool> m_trkFindingAlgProviderTool{
53 this, "TrackFindingAlgProviderTool", "",
54 "Tool providing the appropriate backend device track finding algorithm"};
55
58 this, "InputTracccMeasurements", "",
59 "Input traccc measurements collection buffer"};
60
62 Gaudi::Property<std::string> m_inputMagFieldKey{
63 this, "InputTracccMagField", "",
64 "Input traccc inhom. mag. field"};
65
66 Gaudi::Property<std::string> m_deviceDetectorObjectName{
67 this, "InputTracccDetectorGeometry", "",
68 "Input traccc detector geometry"};
69
73 this, "InputTracccTrackParameters", "",
74 "Input traccc track parameter collection buffer"};
75
76
80 this, "OutputTracccTracks", "",
81 "Output traccc tracks collection buffer"};
82
83
84 traccc::finding_config m_finding_cfg;
85 const traccc::magnetic_field* m_deviceMagField{nullptr};
86 const traccc::detector_buffer* m_deviceDetector{nullptr};
87
88};
89
90} // namespace ActsTrk
91
92#endif // ACTSGPUPATTERNRECOGNITION_DEVICETRACKFINDINGALG_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 track finding on the GPU.
SG::ReadHandleKey< traccc::edm::measurement_collection::const_view > m_inputMeasKey
const traccc::magnetic_field * m_deviceMagField
const traccc::detector_buffer * m_deviceDetector
Gaudi::Property< std::string > m_deviceDetectorObjectName
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
ToolHandle< IDeviceTrackFindingAlgProviderTool > m_trkFindingAlgProviderTool
virtual StatusCode initialize() override
Function initializing the algorithm.
SG::WriteHandleKey< traccc::bound_track_parameters_collection_types::buffer > m_inputTrkParamKey
SG::WriteHandleKey< traccc_track_container::buffer > m_outputTracksKey
Gaudi::Property< std::string > m_inputMagFieldKey
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...