ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ForwardTransport
python
ForwardTransportConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
6
def
ForwardTransportModelCfg
(flags, name="ForwardTransportModel", **kwargs):
7
result = ComponentAccumulator()
8
from
ForwardTransportSvc.ForwardTransportSvcConfig
import
ForwardTransportSvcCfg
9
serviceName =
"ForwardTransportSvc"
10
result.merge(ForwardTransportSvcCfg(flags, serviceName, **kwargs))
11
kwargs.setdefault(
"ForwardTransportSvcName"
, serviceName)
#Not a ServiceHandle
12
kwargs.setdefault(
"RegionName"
,
"FWDBeamLine"
)
13
result.setPrivateTools(CompFactory.ForwardTransportModelTool(name, **kwargs))
14
return
result
ForwardTransportConfig.ForwardTransportModelCfg
ForwardTransportModelCfg(flags, name="ForwardTransportModel", **kwargs)
Definition
ForwardTransportConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0