ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardTransportConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6def 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
ForwardTransportModelCfg(flags, name="ForwardTransportModel", **kwargs)