Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
DataPrepConfig Namespace Reference

Functions

def FPGATrackSimReportingCfg (flags, name='FPGATrackSimReportingAlg', **kwargs)
 
def xAODClusterMakerCfg (flags, name='xAODClusterMaker', **kwarg)
 
def xAODSpacePointMakerCfg (flags, name='xAODSpacePointMaker', **kwarg)
 
def PassThroughToolCfg (flags, name='PassThroughTool', **kwarg)
 
def DataPrepCfg (flags, name="DataPreparationPipeline", **kwarg)
 

Variables

 flags
 
 Files
 
 AODFileName
 
 RunPassThrough
 
 RunSoftware
 
 ClusterOnly
 
 doAthenaToActsSpacePoint
 
 doAthenaToActsCluster
 
 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 66 of file DataPrepConfig.py.

66 def DataPrepCfg(flags, name = "DataPreparationPipeline", **kwarg):
67 
68  acc = ComponentAccumulator()
69 
70  # Configure both tools
71  clusterMakerTool = acc.popToolsAndMerge(xAODClusterMakerCfg(flags))
72  spacePointMakerTool = acc.popToolsAndMerge(xAODSpacePointMakerCfg(flags))
73  passThroughTool = acc.popToolsAndMerge(PassThroughToolCfg(flags))
74 
75  kwarg.setdefault('name', name)
76  kwarg.setdefault('xAODClusterMaker', clusterMakerTool)
77  kwarg.setdefault('xAODSpacePointMaker', spacePointMakerTool)
78  kwarg.setdefault('PassThroughTool', passThroughTool)
79  # xclbin and kernels
80  kwarg.setdefault('xclbin', '')
81  kwarg.setdefault('PixelClusteringKernelName','')
82  kwarg.setdefault('SpacepointKernelName','')
83  kwarg.setdefault('PassThroughKernelName', '')
84  kwarg.setdefault('RunPassThrough', flags.FPGADataPrep.RunPassThrough)
85  # Test vectors
86  kwarg.setdefault('UseTV', flags.FPGADataPrep.FPGA.UseTV)
87  kwarg.setdefault('PixelClusterTV','')
88  kwarg.setdefault('PixelClusterRefTV','')
89  kwarg.setdefault('SpacepointTV','')
90  kwarg.setdefault('SpacepointRefTV','')
91 
92  acc.addEventAlgo(CompFactory.DataPreparationPipeline(**kwarg))
93  return acc
94 

◆ 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 

◆ PassThroughToolCfg()

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

Definition at line 51 of file DataPrepConfig.py.

51 def PassThroughToolCfg(flags, name = 'PassThroughTool', **kwarg):
52 
53  acc = ComponentAccumulator()
54 
55  kwarg.setdefault('name', name)
56  kwarg.setdefault('StripClusterContainerKey', 'ITkStripClusters')
57  kwarg.setdefault('PixelClusterContainerKey', 'ITkPixelClusters')
58  kwarg.setdefault('RunSW', flags.FPGADataPrep.PassThrough.RunSoftware)
59  kwarg.setdefault('ClusterOnlyPassThrough', flags.FPGADataPrep.PassThrough.ClusterOnly)
60  kwarg.setdefault('MaxClusterNum', flags.FPGADataPrep.PassThrough.MaxClusterNum)
61  kwarg.setdefault('MaxSpacePointNum', flags.FPGADataPrep.PassThrough.MaxSpacePointNum)
62 
63  acc.setPrivateTools(CompFactory.PassThroughTool(**kwarg))
64  return acc
65 

◆ xAODClusterMakerCfg()

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

Definition at line 25 of file DataPrepConfig.py.

25 def xAODClusterMakerCfg(flags, name = 'xAODClusterMaker', **kwarg):
26  """Configure the xAODClusterMaker tool"""
27 
28  acc = ComponentAccumulator()
29 
30  kwarg.setdefault('PixelClusterContainerKey', 'FPGAPixelClusters')
31  kwarg.setdefault('StripClusterContainerKey', 'FPGAStripClusters')
32 
33  acc.setPrivateTools(CompFactory.xAODClusterMaker(name, **kwarg))
34  return acc
35 

◆ xAODSpacePointMakerCfg()

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

Definition at line 36 of file DataPrepConfig.py.

36 def xAODSpacePointMakerCfg(flags, name = 'xAODSpacePointMaker', **kwarg):
37  """Configure the xAODSpacePointMaker tool"""
38 
39  acc = ComponentAccumulator()
40 
41  # Input clusters to read from
42  kwarg.setdefault('PixelClusterContainerKey', 'FPGAPixelClusters')
43  kwarg.setdefault('StripClusterContainerKey', 'FPGAStripClusters')
44  # Output space points to create
45  kwarg.setdefault('PixelSpacePointContainerKey', 'FPGAPixelSpacePoints')
46  kwarg.setdefault('StripSpacePointContainerKey', 'FPGAStripSpacePoints')
47 
48  acc.setPrivateTools(CompFactory.xAODSpacePointMaker(name, **kwarg))
49  return acc
50 

Variable Documentation

◆ AOD_IDTPMFileName

DataPrepConfig.AOD_IDTPMFileName

Definition at line 139 of file DataPrepConfig.py.

◆ AODFileName

DataPrepConfig.AODFileName

Definition at line 113 of file DataPrepConfig.py.

◆ cfg

DataPrepConfig.cfg

Definition at line 155 of file DataPrepConfig.py.

◆ ClusterOnly

DataPrepConfig.ClusterOnly

Definition at line 118 of file DataPrepConfig.py.

◆ createMetadata

DataPrepConfig.createMetadata

Definition at line 189 of file DataPrepConfig.py.

◆ doActsSeed

DataPrepConfig.doActsSeed

Definition at line 123 of file DataPrepConfig.py.

◆ doAthenaToActsCluster

DataPrepConfig.doAthenaToActsCluster

Definition at line 121 of file DataPrepConfig.py.

◆ doAthenaToActsSpacePoint

DataPrepConfig.doAthenaToActsSpacePoint

Definition at line 120 of file DataPrepConfig.py.

◆ doWriteAOD_IDTPM

DataPrepConfig.doWriteAOD_IDTPM

Definition at line 138 of file DataPrepConfig.py.

◆ EnableCalo

DataPrepConfig.EnableCalo

Definition at line 126 of file DataPrepConfig.py.

◆ Files

DataPrepConfig.Files

Definition at line 105 of file DataPrepConfig.py.

◆ flags

DataPrepConfig.flags

Definition at line 99 of file DataPrepConfig.py.

◆ keepOriginal

DataPrepConfig.keepOriginal

Definition at line 150 of file DataPrepConfig.py.

◆ kwarg

DataPrepConfig.kwarg

Definition at line 169 of file DataPrepConfig.py.

◆ OutputFileName

DataPrepConfig.OutputFileName

Definition at line 137 of file DataPrepConfig.py.

◆ outputFilePrefix

DataPrepConfig.outputFilePrefix

Definition at line 134 of file DataPrepConfig.py.

◆ OutputItemList

DataPrepConfig.OutputItemList

Definition at line 196 of file DataPrepConfig.py.

◆ plotsCommonValuesFile

DataPrepConfig.plotsCommonValuesFile

Definition at line 136 of file DataPrepConfig.py.

◆ plotsDefFileList

DataPrepConfig.plotsDefFileList

Definition at line 135 of file DataPrepConfig.py.

◆ RunPassThrough

DataPrepConfig.RunPassThrough

Definition at line 116 of file DataPrepConfig.py.

◆ RunSoftware

DataPrepConfig.RunSoftware

Definition at line 117 of file DataPrepConfig.py.

◆ TrigTrkKey

DataPrepConfig.TrigTrkKey

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

Definition at line 144 of file DataPrepConfig.py.

◆ trkAnaCfgFile

DataPrepConfig.trkAnaCfgFile

Definition at line 140 of file DataPrepConfig.py.

◆ useCache

DataPrepConfig.useCache

Definition at line 122 of file DataPrepConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
DataPrepConfig.PassThroughToolCfg
def PassThroughToolCfg(flags, name='PassThroughTool', **kwarg)
Definition: DataPrepConfig.py:51
DataPrepConfig.xAODClusterMakerCfg
def xAODClusterMakerCfg(flags, name='xAODClusterMaker', **kwarg)
Definition: DataPrepConfig.py:25
DataPrepConfig.xAODSpacePointMakerCfg
def xAODSpacePointMakerCfg(flags, name='xAODSpacePointMaker', **kwarg)
Definition: DataPrepConfig.py:36
DataPrepConfig.DataPrepCfg
def DataPrepCfg(flags, name="DataPreparationPipeline", **kwarg)
Definition: DataPrepConfig.py:66
DataPrepConfig.FPGATrackSimReportingCfg
def FPGATrackSimReportingCfg(flags, name='FPGATrackSimReportingAlg', **kwargs)
Definition: DataPrepConfig.py:6