ATLAS Offline Software
Loading...
Searching...
No Matches
FPGADataFormatter Namespace Reference

Functions

 FPGADataFormatToolCfg (flags, name='FPGADataFormatTool', **kwarg)
 FPGATestVectorToolCfg (flags, name='FPGATestVectorTool', **kwarg)
 FPGAOutputConversionToolCfg (flags, name='FPGAOutputConversionTool', **kwarg)
 xAODClusterMakerCfg (flags, name='xAODClusterMaker', **kwarg)
 xAODSpacePointMakerCfg (flags, name='xAODSpacePointMaker', **kwarg)
 FPGAFormatterPrepCfg (flags, name="FPGAFormatterPrep", **kwarg)

Variables

 flags = initConfigFlags()
 NumThreads
 Files
 AODFileName
 EnableCalo
 DoBulkCopy
 doAthenaToActsSpacePoint
 doAthenaToActsCluster
 doRotCorrection
 DumpEvtStore
 top_acc = MainServicesCfg(flags)
dict kwarg = {}
 acc = FPGAFormatterPrepCfg(flags, **kwarg)
list OutputItemList

Function Documentation

◆ FPGADataFormatToolCfg()

FPGADataFormatter.FPGADataFormatToolCfg ( flags,
name = 'FPGADataFormatTool',
** kwarg )

Definition at line 7 of file FPGADataFormatter.py.

7def FPGADataFormatToolCfg(flags, name = 'FPGADataFormatTool', **kwarg):
8
9 acc = ComponentAccumulator()
10
11 kwarg.setdefault('name', name)
12 acc.setPrivateTools(CompFactory.FPGADataFormatTool(**kwarg))
13
14 return acc
15

◆ FPGAFormatterPrepCfg()

FPGADataFormatter.FPGAFormatterPrepCfg ( flags,
name = "FPGAFormatterPrep",
** kwarg )

Definition at line 61 of file FPGADataFormatter.py.

61def FPGAFormatterPrepCfg(flags, name = "FPGAFormatterPrep", **kwarg):
62
63 acc = ComponentAccumulator()
64
65 tool = acc.popToolsAndMerge(FPGADataFormatToolCfg(flags))
66 tvTool = acc.popToolsAndMerge(FPGATestVectorToolCfg(flags))
67 outputTool = acc.popToolsAndMerge(FPGAOutputConversionToolCfg(flags))
68 clusterMakerTool = acc.popToolsAndMerge(xAODClusterMakerCfg(flags))
69 spacePointMakerTool = acc.popToolsAndMerge(xAODSpacePointMakerCfg(flags))
70
71 kwarg.setdefault('name', name)
72 kwarg.setdefault('FPGADataFormatTool', tool)
73 kwarg.setdefault('TestVectorTool', tvTool)
74 kwarg.setdefault('OutputConversionTool', outputTool)
75 kwarg.setdefault('xAODClusterMaker', clusterMakerTool)
76 kwarg.setdefault('xAODSpacePointMaker', spacePointMakerTool)
77
78 kwarg.setdefault('PixelEDMRefTV', '')
79 kwarg.setdefault('StripEDMRefTV', '')
80 kwarg.setdefault('SpacePointRefTV', '')
81
82 acc.addEventAlgo(CompFactory.FPGADataFormatAlg(**kwarg))
83 return acc
84

◆ FPGAOutputConversionToolCfg()

FPGADataFormatter.FPGAOutputConversionToolCfg ( flags,
name = 'FPGAOutputConversionTool',
** kwarg )

Definition at line 25 of file FPGADataFormatter.py.

25def FPGAOutputConversionToolCfg(flags, name = 'FPGAOutputConversionTool', **kwarg):
26
27 acc = ComponentAccumulator()
28
29 kwarg.setdefault('name', name)
30 acc.setPrivateTools(CompFactory.OutputConversionTool(**kwarg))
31
32 return acc
33

◆ FPGATestVectorToolCfg()

FPGADataFormatter.FPGATestVectorToolCfg ( flags,
name = 'FPGATestVectorTool',
** kwarg )

Definition at line 16 of file FPGADataFormatter.py.

16def FPGATestVectorToolCfg(flags, name = 'FPGATestVectorTool', **kwarg):
17
18 acc = ComponentAccumulator()
19
20 kwarg.setdefault('name', name)
21 acc.setPrivateTools(CompFactory.TestVectorTool(**kwarg))
22
23 return acc
24

◆ xAODClusterMakerCfg()

FPGADataFormatter.xAODClusterMakerCfg ( flags,
name = 'xAODClusterMaker',
** kwarg )
Configure the xAODClusterMaker tool

Definition at line 34 of file FPGADataFormatter.py.

34def xAODClusterMakerCfg(flags, name = 'xAODClusterMaker', **kwarg):
35 """Configure the xAODClusterMaker tool"""
36
37 acc = ComponentAccumulator()
38
39 kwarg.setdefault('PixelClusterContainerKey', 'FPGAPixelClusters')
40 kwarg.setdefault('StripClusterContainerKey', 'FPGAStripClusters')
41 kwarg.setdefault('DoBulkCopy', flags.ClusterMaker.DoBulkCopy)
42
43 acc.setPrivateTools(CompFactory.xAODClusterMaker(name, **kwarg))
44 return acc
45

◆ xAODSpacePointMakerCfg()

FPGADataFormatter.xAODSpacePointMakerCfg ( flags,
name = 'xAODSpacePointMaker',
** kwarg )
Configure the xAODSpacePointMaker tool

Definition at line 46 of file FPGADataFormatter.py.

46def xAODSpacePointMakerCfg(flags, name = 'xAODSpacePointMaker', **kwarg):
47 """Configure the xAODSpacePointMaker tool"""
48
49 acc = ComponentAccumulator()
50
51 # Input clusters to read from
52 kwarg.setdefault('PixelClusterContainerKey', 'FPGAPixelClusters')
53 kwarg.setdefault('StripClusterContainerKey', 'FPGAStripClusters')
54 # Output space points to create
55 kwarg.setdefault('PixelSpacePointContainerKey', 'FPGAPixelSpacePoints')
56 kwarg.setdefault('StripSpacePointContainerKey', 'FPGAStripSpacePoints')
57
58 acc.setPrivateTools(CompFactory.xAODSpacePointMaker(name, **kwarg))
59 return acc
60

Variable Documentation

◆ acc

FPGADataFormatter.acc = FPGAFormatterPrepCfg(flags, **kwarg)

Definition at line 131 of file FPGADataFormatter.py.

◆ AODFileName

FPGADataFormatter.AODFileName

Definition at line 95 of file FPGADataFormatter.py.

◆ doAthenaToActsCluster

FPGADataFormatter.doAthenaToActsCluster

Definition at line 105 of file FPGADataFormatter.py.

◆ doAthenaToActsSpacePoint

FPGADataFormatter.doAthenaToActsSpacePoint

Definition at line 104 of file FPGADataFormatter.py.

◆ DoBulkCopy

FPGADataFormatter.DoBulkCopy

Definition at line 101 of file FPGADataFormatter.py.

◆ doRotCorrection

FPGADataFormatter.doRotCorrection

Definition at line 107 of file FPGADataFormatter.py.

◆ DumpEvtStore

FPGADataFormatter.DumpEvtStore

Definition at line 109 of file FPGADataFormatter.py.

◆ EnableCalo

FPGADataFormatter.EnableCalo

Definition at line 98 of file FPGADataFormatter.py.

◆ Files

FPGADataFormatter.Files

Definition at line 94 of file FPGADataFormatter.py.

◆ flags

FPGADataFormatter.flags = initConfigFlags()

Definition at line 90 of file FPGADataFormatter.py.

◆ kwarg

dict FPGADataFormatter.kwarg = {}

Definition at line 128 of file FPGADataFormatter.py.

◆ NumThreads

FPGADataFormatter.NumThreads

Definition at line 92 of file FPGADataFormatter.py.

◆ OutputItemList

list FPGADataFormatter.OutputItemList
Initial value:
1= [
2 "xAOD::StripClusterContainer#FPGAStripClusters",
3 "xAOD::StripClusterAuxContainer#FPGAStripClustersAux.",
4 "xAOD::PixelClusterContainer#FPGAPixelClusters",
5 "xAOD::PixelClusterAuxContainer#FPGAPixelClustersAux.",
6 ]

Definition at line 144 of file FPGADataFormatter.py.

◆ top_acc

FPGADataFormatter.top_acc = MainServicesCfg(flags)

Definition at line 115 of file FPGADataFormatter.py.