ATLAS Offline Software
TRT_PAI_ProcessConfig.py
Go to the documentation of this file.
1 """Define methods to construct configured TRT_PAI_Process tools
2 
3 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4 """
5 #from TRT_PAI_Process.TRT_PAI_ProcessConf import
6 from AthenaConfiguration.ComponentFactory import CompFactory
7 TRT_PAI_Process=CompFactory.TRT_PAI_Process
8 
9 def TRT_PAI_Process_XeToolCfg(flags, name="TRT_PAI_Process_Xe", **kwargs):
10  """Return a Xenon-configured TRT_PAI_Process"""
11  kwargs.setdefault("GasType", "Xenon")
12  return TRT_PAI_Process(name, **kwargs)
13 
14 def TRT_PAI_Process_ArToolCfg(flags, name="TRT_PAI_Process_Ar", **kwargs):
15  """Return an Argon-configured TRT_PAI_Process"""
16  kwargs.setdefault("GasType", "Argon")
17  return TRT_PAI_Process(name, **kwargs)
18 
19 def TRT_PAI_Process_KrToolCfg(flags, name="TRT_PAI_Process_Kr", **kwargs):
20  """Return a Krypton-configured TRT_PAI_Process"""
21  kwargs.setdefault("GasType", "Krypton")
22  return TRT_PAI_Process(name, **kwargs)
23 
TRT_PAI_Process
The Photon Absorption Ionisation model used for the ionisation in the TRT.
Definition: TRT_PAI_Process.h:42
TRT_PAI_ProcessConfig.TRT_PAI_Process_ArToolCfg
def TRT_PAI_Process_ArToolCfg(flags, name="TRT_PAI_Process_Ar", **kwargs)
Definition: TRT_PAI_ProcessConfig.py:14
TRT_PAI_ProcessConfig.TRT_PAI_Process_KrToolCfg
def TRT_PAI_Process_KrToolCfg(flags, name="TRT_PAI_Process_Kr", **kwargs)
Definition: TRT_PAI_ProcessConfig.py:19
TRT_PAI_ProcessConfig.TRT_PAI_Process_XeToolCfg
def TRT_PAI_Process_XeToolCfg(flags, name="TRT_PAI_Process_Xe", **kwargs)
Definition: TRT_PAI_ProcessConfig.py:9