ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsGPUMagField
src
hip
HIPMagFieldProviderTool.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 ACTSGPUMAGFIELD_HIPMAGFIELDPROVIDERTOOL_H
5
#define ACTSGPUMAGFIELD_HIPMAGFIELDPROVIDERTOOL_H
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
../IDeviceMagFieldProviderTool.h
"
9
10
#include "traccc/hip/utils/make_magnetic_field.hpp"
11
12
#include <Gaudi/Property.h>
13
#include <string>
14
15
namespace
ActsTrk
{
16
27
class
HIPMagFieldProviderTool
28
:
public
extends<AthAlgTool, IDeviceMagFieldProviderTool>
29
{
30
public
:
31
using
extends::extends;
33
virtual
StatusCode
initialize
()
override
;
34
37
virtual
traccc::magnetic_field
getDeviceMagneticField
(traccc::magnetic_field
const
& host_bfield)
const override
;
38
39
private
:
40
traccc::hip::magnetic_field_storage
m_storage
{traccc::hip::magnetic_field_storage::global_memory};
41
Gaudi::Property<std::string>
m_magFieldStorage
{
42
this
,
"MagFieldStorage"
,
"global_memory"
,
43
"Storage method for the HIP device magnetic field; global or texture memory"
};
44
45
46
};
47
48
}
// namespace ActsTrk
49
50
#endif
// ACTSGPUMAGFIELD_HIPMAGFIELDPROVIDERTOOL_H
AthAlgTool.h
IDeviceMagFieldProviderTool.h
ActsTrk::HIPMagFieldProviderTool
Tool providing HIP-based traccc magnetic field algorithm.
Definition
HIPMagFieldProviderTool.h:29
ActsTrk::HIPMagFieldProviderTool::m_storage
traccc::hip::magnetic_field_storage m_storage
Definition
HIPMagFieldProviderTool.h:40
ActsTrk::HIPMagFieldProviderTool::m_magFieldStorage
Gaudi::Property< std::string > m_magFieldStorage
Definition
HIPMagFieldProviderTool.h:41
ActsTrk::HIPMagFieldProviderTool::initialize
virtual StatusCode initialize() override
Function initializing the algorithm.
Definition
HIPMagFieldProviderTool.cxx:10
ActsTrk::HIPMagFieldProviderTool::getDeviceMagneticField
virtual traccc::magnetic_field getDeviceMagneticField(traccc::magnetic_field const &host_bfield) const override
Function constructing the traccc device hip magnetic field.
Definition
HIPMagFieldProviderTool.cxx:28
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Generated on
for ATLAS Offline Software by
1.17.0