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

Functions

def BenchmarkCfg (flags, name='BenckmarkAlg', **kwarg)
 
def FPGAClusterSortingCfg (flags)
 

Variables

 flags
 
 EnableCalo
 
 DoActs
 
 ClusterOnly
 
 useCache
 
 doActsSeed
 
 doAthenaToActsCluster
 
 doAthenaToActsSpacePoint
 
 doAthenaSpacePoint
 
 doRotCorrection
 
 NumThreads
 
 Files
 
 AODFileName
 
 DumpEvtStore
 
 keepOriginal
 
 kwarg
 
 cfg
 
 acc
 
 OutputItemList
 
 FinalTracks
 
 createMetadata
 

Function Documentation

◆ BenchmarkCfg()

def BenchmarkConfig.BenchmarkCfg (   flags,
  name = 'BenckmarkAlg',
**  kwarg 
)

Definition at line 6 of file BenchmarkConfig.py.

6 def BenchmarkCfg(flags, name = 'BenckmarkAlg', **kwarg):
8 
9  kwarg.setdefault('bdfID','0000:83:00.1') # On the testbed
10  kwarg.setdefault('xclbin', flags.FPGADataPrep.xclbin)
11  kwarg.setdefault('PixelClusterKernelName','pixel_clustering_tool')
12  kwarg.setdefault('StripClusterKernelName','processHits')
13  kwarg.setdefault('PixelL2GKernelName','l2g_pixel_tool')
14  kwarg.setdefault('StripL2GKernelName','l2g_strip_tool')
15  kwarg.setdefault('EDMPrepKernelName', 'EDMPrep')
16  kwarg.setdefault('InputPixelClusterKey', 'ITkPixelClusters')
17  kwarg.setdefault('InputStripClusterKey', 'ITkStripClusters')
18  kwarg.setdefault('runPassThrough', flags.FPGADataPrep.RunPassThrough)
19  kwarg.setdefault('doEmulation', flags.FPGADataPrep.DoEmulation)
20 
21 
22  # Set up Cluster maker tool
23  from EFTrackingFPGAPipeline.DataPrepConfig import xAODClusterMakerCfg
24  clusterMakerTool = acc.popToolsAndMerge(xAODClusterMakerCfg(flags))
25  kwarg.setdefault('xAODClusterMaker', clusterMakerTool)
26 
27  # Set up TestVectorTool
28  from EFTrackingFPGAUtility.FPGADataFormatter import FPGATestVectorToolCfg
29  testVectorTool = acc.popToolsAndMerge(FPGATestVectorToolCfg(flags))
30  kwarg.setdefault('TestVectorTool', testVectorTool)
31 
32  # Set up Chrono service
33  acc.addService(CompFactory.ChronoStatSvc(
34  PrintUserTime = True,
35  PrintSystemTime = True,
36  PrintEllapsedTime = True
37  ))
38 
39  acc.addEventAlgo(CompFactory.EFTrackingFPGAIntegration.BenchmarkAlg(**kwarg))
40 
41  return acc
42 

◆ FPGAClusterSortingCfg()

def BenchmarkConfig.FPGAClusterSortingCfg (   flags)

Definition at line 43 of file BenchmarkConfig.py.

43 def FPGAClusterSortingCfg(flags):
44  acc = ComponentAccumulator()
45  from FPGAClusterSorting.FPGAClusterSortingConfig import FPGAClusterSortingAlgCfg
46  ClusterSorting = FPGAClusterSortingAlgCfg(flags)
47 
48  acc.merge(ClusterSorting)
49  return acc
50 
51 

Variable Documentation

◆ acc

BenchmarkConfig.acc

Definition at line 107 of file BenchmarkConfig.py.

◆ AODFileName

BenchmarkConfig.AODFileName

Definition at line 80 of file BenchmarkConfig.py.

◆ cfg

BenchmarkConfig.cfg

Definition at line 89 of file BenchmarkConfig.py.

◆ ClusterOnly

BenchmarkConfig.ClusterOnly

Definition at line 64 of file BenchmarkConfig.py.

◆ createMetadata

BenchmarkConfig.createMetadata

Definition at line 157 of file BenchmarkConfig.py.

◆ DoActs

BenchmarkConfig.DoActs

Definition at line 61 of file BenchmarkConfig.py.

◆ doActsSeed

BenchmarkConfig.doActsSeed

Definition at line 68 of file BenchmarkConfig.py.

◆ doAthenaSpacePoint

BenchmarkConfig.doAthenaSpacePoint

Definition at line 72 of file BenchmarkConfig.py.

◆ doAthenaToActsCluster

BenchmarkConfig.doAthenaToActsCluster

Definition at line 70 of file BenchmarkConfig.py.

◆ doAthenaToActsSpacePoint

BenchmarkConfig.doAthenaToActsSpacePoint

Definition at line 71 of file BenchmarkConfig.py.

◆ doRotCorrection

BenchmarkConfig.doRotCorrection

Definition at line 75 of file BenchmarkConfig.py.

◆ DumpEvtStore

BenchmarkConfig.DumpEvtStore

Definition at line 81 of file BenchmarkConfig.py.

◆ EnableCalo

BenchmarkConfig.EnableCalo

Definition at line 60 of file BenchmarkConfig.py.

◆ Files

BenchmarkConfig.Files

Definition at line 78 of file BenchmarkConfig.py.

◆ FinalTracks

BenchmarkConfig.FinalTracks

Definition at line 129 of file BenchmarkConfig.py.

◆ flags

BenchmarkConfig.flags

Definition at line 54 of file BenchmarkConfig.py.

◆ keepOriginal

BenchmarkConfig.keepOriginal

Definition at line 84 of file BenchmarkConfig.py.

◆ kwarg

BenchmarkConfig.kwarg

Definition at line 86 of file BenchmarkConfig.py.

◆ NumThreads

BenchmarkConfig.NumThreads

Definition at line 77 of file BenchmarkConfig.py.

◆ OutputItemList

BenchmarkConfig.OutputItemList

Definition at line 110 of file BenchmarkConfig.py.

◆ useCache

BenchmarkConfig.useCache

Definition at line 67 of file BenchmarkConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
FPGAClusterSortingConfig.FPGAClusterSortingAlgCfg
def FPGAClusterSortingAlgCfg(flags, name="FPGAClusterSortingAlg", **kwargs)
Definition: FPGAClusterSortingConfig.py:6
FPGADataFormatter.FPGATestVectorToolCfg
def FPGATestVectorToolCfg(flags, name='FPGATestVectorTool', **kwarg)
Definition: FPGADataFormatter.py:16
BenchmarkConfig.FPGAClusterSortingCfg
def FPGAClusterSortingCfg(flags)
Definition: BenchmarkConfig.py:43
DataPrepConfig.xAODClusterMakerCfg
def xAODClusterMakerCfg(flags, name='xAODClusterMaker', **kwarg)
Definition: DataPrepConfig.py:25
BenchmarkConfig.BenchmarkCfg
def BenchmarkCfg(flags, name='BenckmarkAlg', **kwarg)
Definition: BenchmarkConfig.py:6