ATLAS Offline Software
Loading...
Searching...
No Matches
ActsGPUGeometryConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6# ============================================================
7# Service configurations
8# ============================================================
9
10def JSONDeviceDetectorDescriptionProviderSvcCfg(flags, **kwargs) -> ComponentAccumulator:
11
12 acc = ComponentAccumulator()
13 kwargs.setdefault("GeometryFile", "dev/ACTS/detray-itk/detray_detector_geometry-for-fun.json")
14 kwargs.setdefault("DigitizationFile", "dev/ACTS/detray-itk/ITk_digitization_config.json")
15 kwargs.setdefault("ConditionsFile", "dev/ACTS/detray-itk/ITk_conditions_config.json")
16 kwargs.setdefault("MapFile", "dev/ACTS/detray-itk/athenaIdentifierToDetrayMap.txt")
17 kwargs.setdefault("DeviceDigitizationObjectName", "TracccDeviceDigitizationConfig")
18 kwargs.setdefault("HostDigitizationObjectName", "TracccHostDigitizationConfig")
19 kwargs.setdefault("DeviceConditionsObjectName", "TracccDeviceCondConfig")
20 kwargs.setdefault("HostConditionsObjectName", "TracccHostCondConfig")
21 svc = CompFactory.ActsTrk.JSONDeviceDetectorDescriptionProviderSvc(**kwargs)
22 acc.addService(svc, primary=True, create=True)
23 return acc
ComponentAccumulator JSONDeviceDetectorDescriptionProviderSvcCfg(flags, **kwargs)