ATLAS Offline Software
Loading...
Searching...
No Matches
FPGAToolsConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6
7def FPGADataFormatToolCfg(flags, name="FPGADataFormatTool", **kwargs):
8 acc = ComponentAccumulator()
9 kwargs.setdefault("name", name)
10 acc.setPrivateTools(CompFactory.FPGADataFormatTool(**kwargs))
11 return acc
12
13
14def xAODClusterMakerCfg(flags, name="xAODClusterMaker", **kwargs):
15 acc = ComponentAccumulator()
16 kwargs.setdefault("PixelClusterContainerKey", "FPGAPixelClusters")
17 kwargs.setdefault("StripClusterContainerKey", "FPGAStripClusters")
18 kwargs.setdefault("DoBulkCopy", True)
19 acc.setPrivateTools(CompFactory.xAODClusterMaker(name, **kwargs))
20 return acc
xAODClusterMakerCfg(flags, name="xAODClusterMaker", **kwargs)
FPGADataFormatToolCfg(flags, name="FPGADataFormatTool", **kwargs)