ATLAS Offline Software
Loading...
Searching...
No Matches
JSONDeviceMagFieldProviderSvc.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 ACTSGPUDATAPREPARATION_JSONDEVICEMAGFIELDPROVIDERSVC_H
5#define ACTSGPUDATAPREPARATION_JSONDEVICEMAGFIELDPROVIDERSVC_H
6
8#include "GaudiKernel/ToolHandle.h"
11
12#include <string>
13
14namespace ActsTrk {
15
30 : public AthService
31{
32public:
33
35
37 virtual StatusCode initialize() override;
38
39private:
40
41 ServiceHandle<StoreGateSvc> m_detStore{this, "DetectorStore", "StoreGateSvc/DetectorStore"};
42
44 ToolHandle<ActsTrk::IDeviceMagFieldProviderTool> m_deviceFieldProviderTool{
45 this, "DeviceMagFieldProviderTool", "",
46 "The device magnetic field provider tool"};
47
50 Gaudi::Property<std::string> m_magFieldFile{
51 this, "MagFieldFile", "",
52 "Magnetic field JSON file"};
53
54
57 Gaudi::Property<std::string> m_hostMagFieldObjectName{
58 this, "HostMagFieldObjectName", "",
59 "Traccc host magnetic field object"};
60 Gaudi::Property<std::string> m_deviceMagFieldObjectName{
61 this, "DeviceMagFieldObjectName", "",
62 "Traccc device magnetic field object"};
63
64
65};
66
67} // namespace ActsTrk
68
69#endif // ACTSGPUDATAPREPARATION_JSONDEVICEMAGFIELDPROVIDERSVC_H
Service providing magnetic field description from JSON files.
virtual StatusCode initialize() override
Function initializing and executing the file loading.
ToolHandle< ActsTrk::IDeviceMagFieldProviderTool > m_deviceFieldProviderTool
The device magnetic field provider tool.
Gaudi::Property< std::string > m_hostMagFieldObjectName
Gaudi::Property< std::string > m_deviceMagFieldObjectName
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...