ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_PAI_ProcessConfig.py
Go to the documentation of this file.
1"""Define methods to construct configured TRT_PAI_Process tools
2
3Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4"""
5from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6from AthenaConfiguration.ComponentFactory import CompFactory
7
8def TRT_PAI_Process_BaseCfg(flags, name, **kwargs):
9 acc = ComponentAccumulator()
10 acc.setPrivateTools(CompFactory.TRT_PAI_Process(name, **kwargs))
11 return acc
12
13
14def TRT_PAI_Process_XeToolCfg(flags, name="TRT_PAI_Process_Xe", **kwargs):
15 """Return a Xenon-configured TRT_PAI_Process"""
16 kwargs.setdefault("GasType", "Xenon")
17 return TRT_PAI_Process_BaseCfg(flags, name, **kwargs)
18
19
20def TRT_PAI_Process_ArToolCfg(flags, name="TRT_PAI_Process_Ar", **kwargs):
21 """Return an Argon-configured TRT_PAI_Process"""
22 kwargs.setdefault("GasType", "Argon")
23 return TRT_PAI_Process_BaseCfg(flags, name, **kwargs)
24
25
26def TRT_PAI_Process_KrToolCfg(flags, name="TRT_PAI_Process_Kr", **kwargs):
27 """Return a Krypton-configured TRT_PAI_Process"""
28 kwargs.setdefault("GasType", "Krypton")
29 return TRT_PAI_Process_BaseCfg(flags, name, **kwargs)
TRT_PAI_Process_XeToolCfg(flags, name="TRT_PAI_Process_Xe", **kwargs)
TRT_PAI_Process_KrToolCfg(flags, name="TRT_PAI_Process_Kr", **kwargs)
TRT_PAI_Process_ArToolCfg(flags, name="TRT_PAI_Process_Ar", **kwargs)
TRT_PAI_Process_BaseCfg(flags, name, **kwargs)