ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
EFTrackingFPGAIntegration
FPGAClusterSorting
python
FPGAClusterSortingConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
6
def
FPGAClusterSortingAlgCfg
(flags, name="FPGAClusterSortingAlg", **kwargs):
7
"""Return a ComponentAccumulator configured for FPGAClusterSorting"""
8
acc = ComponentAccumulator()
9
10
kwargs.setdefault(
'xAODPixelClusterContainer'
,
'FPGAPixelClusters'
)
11
kwargs.setdefault(
'xAODStripClusterContainer'
,
'FPGAStripClusters'
)
12
kwargs.setdefault(
'sortedxAODPixelClusterContainer'
,
'SortedFPGAPixelClusters'
)
13
kwargs.setdefault(
'sortedxAODStripClusterContainer'
,
'SortedFPGAStripClusters'
)
14
15
ClustrerSorting = CompFactory.FPGAClusterSortingAlg(name,**kwargs)
16
17
# Add the algorithm to the accumulator
18
acc.addEventAlgo(ClustrerSorting)
19
20
return
acc
21
22
23
def
FPGAClusterDataVectorSortingAlgCfg
(flags, name="FPGAClusterDataVectorSortingAlg", **kwargs):
24
"""Return a ComponentAccumulator configured for FPGAClusterDataVectorSortingAlg"""
25
acc = ComponentAccumulator()
26
27
kwargs.setdefault(
'xAODPixelClusterContainer'
,
'FPGAPixelClusters'
)
28
kwargs.setdefault(
'xAODStripClusterContainer'
,
'FPGAStripClusters'
)
29
kwargs.setdefault(
'sortedxAODPixelClusterContainer'
,
'SortedFPGAPixelClusters'
)
30
kwargs.setdefault(
'sortedxAODStripClusterContainer'
,
'SortedFPGAStripClusters'
)
31
32
ClustrerSorting = CompFactory.FPGAClusterDataVectorSortingAlg(name,**kwargs)
33
34
# Add the algorithm to the accumulator
35
acc.addEventAlgo(ClustrerSorting)
36
37
return
acc
FPGAClusterSortingConfig.FPGAClusterSortingAlgCfg
FPGAClusterSortingAlgCfg(flags, name="FPGAClusterSortingAlg", **kwargs)
Definition
FPGAClusterSortingConfig.py:6
FPGAClusterSortingConfig.FPGAClusterDataVectorSortingAlgCfg
FPGAClusterDataVectorSortingAlgCfg(flags, name="FPGAClusterDataVectorSortingAlg", **kwargs)
Definition
FPGAClusterSortingConfig.py:23
Generated on
for ATLAS Offline Software by
1.17.0