ATLAS Offline Software
Functions | Variables
DataPrepConfig Namespace Reference

Functions

def FPGATrackSimReportingCfg (flags, name='FPGATrackSimReportingAlg', **kwargs)
 
def xAODContainerMakerCfg (flags, name='xAODContainerMaker', **kwarg)
 
def PassThroughToolCfg (flags, name='PassThroughTool', **kwarg)
 
def DataPrepCfg (flags, name="DataPreparationPipeline", **kwarg)
 

Variables

 flags
 
 Files
 
 AODFileName
 
 RunPassThrough
 
 RunSoftware
 
 ClusterOnly
 
 doAthenaToActsSpacePoint
 
 doAthenaToActsCluster
 
 EnableITkPixel
 
 EnableITkStrip
 
 useCache
 
 doActsSeed
 
 EnableCalo
 
 outputFilePrefix
 
 plotsDefFileList
 
 plotsCommonValuesFile
 
 OutputFileName
 
 doWriteAOD_IDTPM
 
 AOD_IDTPMFileName
 
 trkAnaCfgFile
 
 TrigTrkKey
 override respective configurations from trkAnaCfgFile (in case something changes in the config file) More...
 
 keepOriginal
 
 cfg
 
 kwarg
 
 createMetadata
 
 OutputItemList
 

Function Documentation

◆ DataPrepCfg()

def DataPrepConfig.DataPrepCfg (   flags,
  name = "DataPreparationPipeline",
**  kwarg 
)

Definition at line 53 of file DataPrepConfig.py.

53 def DataPrepCfg(flags, name = "DataPreparationPipeline", **kwarg):
54 
55  acc = ComponentAccumulator()
56 
57  containerMakerTool = acc.popToolsAndMerge(xAODContainerMakerCfg(flags))
58  passThroughTool = acc.popToolsAndMerge(PassThroughToolCfg(flags))
59 
60  kwarg.setdefault('name', name)
61  kwarg.setdefault('xAODMaker', containerMakerTool)
62  kwarg.setdefault('PassThroughTool', passThroughTool)
63  # xclbin and kernels
64  kwarg.setdefault('xclbin', '')
65  kwarg.setdefault('PixelClusteringKernelName','')
66  kwarg.setdefault('SpacepointKernelName','')
67  kwarg.setdefault('PassThroughKernelName', '')
68  kwarg.setdefault('RunPassThrough', flags.FPGADataPrep.RunPassThrough)
69  # Test vectors
70  kwarg.setdefault('UseTV', flags.FPGADataPrep.FPGA.UseTV)
71  kwarg.setdefault('PixelClusterTV','')
72  kwarg.setdefault('PixelClusterRefTV','')
73  kwarg.setdefault('SpacepointTV','')
74  kwarg.setdefault('SpacepointRefTV','')
75 
76  acc.addEventAlgo(CompFactory.DataPreparationPipeline(**kwarg))
77  return acc
78 

◆ FPGATrackSimReportingCfg()

def DataPrepConfig.FPGATrackSimReportingCfg (   flags,
  name = 'FPGATrackSimReportingAlg',
**  kwargs 
)

Definition at line 6 of file DataPrepConfig.py.

6 def FPGATrackSimReportingCfg(flags, name='FPGATrackSimReportingAlg',**kwargs):
7 
8  kwargs.setdefault('perEventReports', False)
9  kwargs.setdefault('xAODPixelClusterContainers',["ITkPixelClusters" ,"FPGAPixelClusters"])
10  kwargs.setdefault('xAODStripClusterContainers',["ITkStripClusters" ,"FPGAStripClusters"])
11  kwargs.setdefault('xAODSpacePointContainersFromFPGA',["FPGAPixelSpacePoints","FPGAStripSpacePoints", "FPGAStripOverlapSpacePoints", "ITkPixelSpacePoints","ITkStripSpacePoints", "ITkStripOverlapSpacePoints"])
12  kwargs.setdefault('FPGATrackSimTracks','FPGATracks_1st')
13  kwargs.setdefault('FPGATrackSimRoads','FPGARoads_1st')
14  kwargs.setdefault('FPGATrackSimProtoTracks',["ActsProtoTracks_1stFromFPGATrack"])
15  kwargs.setdefault('FPGAActsTracks',["FPGAActsTracks"])
16  kwargs.setdefault('FPGAActsSeeds',['FPGAPixelSeeds','FPGAStripSeeds'])
17  kwargs.setdefault('FPGAActsSeedsParam',['FPGAPixelEstimatedTrackParams','FPGAStripEstimatedTrackParams'])
18 
19  acc = ComponentAccumulator()
20  from FPGATrackSimReporting.FPGATrackSimReportingConfig import FPGATrackSimReportingCfg
21  acc.merge(FPGATrackSimReportingCfg(flags, name=name,**kwargs))
22 
23  return acc
24 
25 

◆ PassThroughToolCfg()

def DataPrepConfig.PassThroughToolCfg (   flags,
  name = 'PassThroughTool',
**  kwarg 
)

Definition at line 40 of file DataPrepConfig.py.

40 def PassThroughToolCfg(flags, name = 'PassThroughTool', **kwarg):
41 
42  acc = ComponentAccumulator()
43 
44  kwarg.setdefault('name', name)
45  kwarg.setdefault('StripClusterContainerKey', 'ITkStripClusters')
46  kwarg.setdefault('PixelClusterContainerKey', 'ITkPixelClusters')
47  kwarg.setdefault('RunSW', flags.FPGADataPrep.PassThrough.RunSoftware)
48  kwarg.setdefault('ClusterOnlyPassThrough', flags.FPGADataPrep.PassThrough.ClusterOnly)
49 
50  acc.setPrivateTools(CompFactory.PassThroughTool(**kwarg))
51  return acc
52 

◆ xAODContainerMakerCfg()

def DataPrepConfig.xAODContainerMakerCfg (   flags,
  name = 'xAODContainerMaker',
**  kwarg 
)

Definition at line 26 of file DataPrepConfig.py.

26 def xAODContainerMakerCfg(flags, name = 'xAODContainerMaker', **kwarg):
27 
28  acc = ComponentAccumulator()
29 
30  kwarg.setdefault('name', name)
31  kwarg.setdefault('OutputStripName', 'FPGAStripClusters')
32  kwarg.setdefault('OutputPixelName', 'FPGAPixelClusters')
33  # Spacepoints below will be further refined when the full pass-through kernel is ready
34  kwarg.setdefault('OutputStripSpacePointName', 'PlaceHolderStripSpacePoints')
35  kwarg.setdefault('OutputPixelSpacePointName', 'PlaceHolderPixelSpacePoints')
36 
37  acc.setPrivateTools(CompFactory.xAODContainerMaker(**kwarg))
38  return acc
39 

Variable Documentation

◆ AOD_IDTPMFileName

DataPrepConfig.AOD_IDTPMFileName

Definition at line 116 of file DataPrepConfig.py.

◆ AODFileName

DataPrepConfig.AODFileName

Definition at line 85 of file DataPrepConfig.py.

◆ cfg

DataPrepConfig.cfg

Definition at line 132 of file DataPrepConfig.py.

◆ ClusterOnly

DataPrepConfig.ClusterOnly

Definition at line 90 of file DataPrepConfig.py.

◆ createMetadata

DataPrepConfig.createMetadata

Definition at line 166 of file DataPrepConfig.py.

◆ doActsSeed

DataPrepConfig.doActsSeed

Definition at line 101 of file DataPrepConfig.py.

◆ doAthenaToActsCluster

DataPrepConfig.doAthenaToActsCluster

Definition at line 94 of file DataPrepConfig.py.

◆ doAthenaToActsSpacePoint

DataPrepConfig.doAthenaToActsSpacePoint

Definition at line 93 of file DataPrepConfig.py.

◆ doWriteAOD_IDTPM

DataPrepConfig.doWriteAOD_IDTPM

Definition at line 115 of file DataPrepConfig.py.

◆ EnableCalo

DataPrepConfig.EnableCalo

Definition at line 104 of file DataPrepConfig.py.

◆ EnableITkPixel

DataPrepConfig.EnableITkPixel

Definition at line 98 of file DataPrepConfig.py.

◆ EnableITkStrip

DataPrepConfig.EnableITkStrip

Definition at line 99 of file DataPrepConfig.py.

◆ Files

DataPrepConfig.Files

Definition at line 84 of file DataPrepConfig.py.

◆ flags

DataPrepConfig.flags

Definition at line 81 of file DataPrepConfig.py.

◆ keepOriginal

DataPrepConfig.keepOriginal

Definition at line 127 of file DataPrepConfig.py.

◆ kwarg

DataPrepConfig.kwarg

Definition at line 146 of file DataPrepConfig.py.

◆ OutputFileName

DataPrepConfig.OutputFileName

Definition at line 114 of file DataPrepConfig.py.

◆ outputFilePrefix

DataPrepConfig.outputFilePrefix

Definition at line 111 of file DataPrepConfig.py.

◆ OutputItemList

DataPrepConfig.OutputItemList

Definition at line 173 of file DataPrepConfig.py.

◆ plotsCommonValuesFile

DataPrepConfig.plotsCommonValuesFile

Definition at line 113 of file DataPrepConfig.py.

◆ plotsDefFileList

DataPrepConfig.plotsDefFileList

Definition at line 112 of file DataPrepConfig.py.

◆ RunPassThrough

DataPrepConfig.RunPassThrough

Definition at line 88 of file DataPrepConfig.py.

◆ RunSoftware

DataPrepConfig.RunSoftware

Definition at line 89 of file DataPrepConfig.py.

◆ TrigTrkKey

DataPrepConfig.TrigTrkKey

override respective configurations from trkAnaCfgFile (in case something changes in the config file)

Definition at line 121 of file DataPrepConfig.py.

◆ trkAnaCfgFile

DataPrepConfig.trkAnaCfgFile

Definition at line 117 of file DataPrepConfig.py.

◆ useCache

DataPrepConfig.useCache

Definition at line 100 of file DataPrepConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
DataPrepConfig.xAODContainerMakerCfg
def xAODContainerMakerCfg(flags, name='xAODContainerMaker', **kwarg)
Definition: DataPrepConfig.py:26
DataPrepConfig.PassThroughToolCfg
def PassThroughToolCfg(flags, name='PassThroughTool', **kwarg)
Definition: DataPrepConfig.py:40
DataPrepConfig.DataPrepCfg
def DataPrepCfg(flags, name="DataPreparationPipeline", **kwarg)
Definition: DataPrepConfig.py:53
DataPrepConfig.FPGATrackSimReportingCfg
def FPGATrackSimReportingCfg(flags, name='FPGATrackSimReportingAlg', **kwargs)
Definition: DataPrepConfig.py:6