ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
EFTracking
TracccTritonClient
python
TracccTritonClientConfigFlags.py
Go to the documentation of this file.
1
#
2
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
#
4
from
AthenaConfiguration.AthConfigFlags
import
AthConfigFlags
5
6
7
def
createTracccTritonConfigFlags
():
8
"""Flags configuring the Traccc Triton client: the model name and the
9
Triton server connection (url/port)."""
10
icf = AthConfigFlags()
11
icf.addFlag(
"Tracking.Traccc.Triton.url"
,
"localhost"
)
12
icf.addFlag(
"Tracking.Traccc.Triton.model"
,
"traccc-gpu"
)
13
icf.addFlag(
"Tracking.Traccc.Triton.port"
, 8001)
14
return
icf
15
16
17
def
tracccTritonFlagsPreInclude
(flags):
18
"""preInclude that registers the Traccc Triton flags on the job's flags.
19
20
Kept in this package (rather than centrally in TrkConfigFlags) so the
21
package is self-contained. preIncludes run before preExec, so
22
flags.Tracking.Traccc.Triton.* can be overridden on the command line."""
23
flags.join(
createTracccTritonConfigFlags
())
TracccTritonClientConfigFlags.createTracccTritonConfigFlags
createTracccTritonConfigFlags()
Definition
TracccTritonClientConfigFlags.py:7
TracccTritonClientConfigFlags.tracccTritonFlagsPreInclude
tracccTritonFlagsPreInclude(flags)
Definition
TracccTritonClientConfigFlags.py:17
Generated on
for ATLAS Offline Software by
1.16.1