ATLAS Offline Software
FPGATrackSimReportingConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
8  actsTrackInspection = CompFactory.FPGATrackSim.ActsTrackInspectionTool()
9  acc.setPrivateTools(actsTrackInspection)
10  return acc
11 
12 def FPGATrackSimReportingCfg(flags,name='FPGATrackSimReportingAlg',**kwargs):
13  acc = ComponentAccumulator()
14 
15  xAODPixelClustersOfInterest=[]
16  xAODStripClustersOfInterest=[]
17 
18  xAODPixelClustersOfInterest += ["ITkPixelClusters" ,"xAODPixelClusters_1stFromFPGACluster", "xAODPixelClusters_1stFromFPGAHit"]
19  xAODStripClustersOfInterest += ["ITkStripClusters" ,"xAODStripClusters_1stFromFPGACluster", "xAODStripClusters_1stFromFPGAHit","xAODSpacePoints_1stFromFPGASP"]
20 
21  kwargs.setdefault('perEventReports',True)
22  kwargs.setdefault('xAODPixelClusterContainers',["ITkPixelClusters" ,"xAODPixelClusters_1stFromFPGACluster", "xAODPixelClusters_1stFromFPGAHit"])
23  kwargs.setdefault('xAODStripClusterContainers',["ITkStripClusters" ,"xAODStripClusters_1stFromFPGACluster", "xAODStripClusters_1stFromFPGAHit"])
24  kwargs.setdefault('xAODSpacePointContainersFromFPGA',["xAODStripSpacePoints_1stFromFPGA","xAODPixelSpacePoints_1stFromFPGA"])
25  kwargs.setdefault('FPGATrackSimTracks','FPGATracks_1st')
26  kwargs.setdefault('FPGATrackSimRoads','FPGARoads_1st')
27  kwargs.setdefault('FPGATrackSimProtoTracks',["ActsProtoTracks_1stFromFPGATrack"])
28  kwargs.setdefault('FPGAActsTracks',["ACTSProtoTrackChainTestTracks","ExtendedFPGATracks"])
29 
30  reportinAlgorithm = CompFactory.FPGATrackSim.FPGATrackSimReportingAlg(name,**kwargs)
31  reportinAlgorithm.ActsInspectionTool = acc.getPrimaryAndMerge(FPGATrackSimActsInspectionToolCfg())
32  acc.addEventAlgo(CompFactory.FPGATrackSim.FPGATrackSimReportingAlg(name,**kwargs))
33  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
FPGATrackSimReportingConfig.FPGATrackSimReportingCfg
def FPGATrackSimReportingCfg(flags, name='FPGATrackSimReportingAlg', **kwargs)
Definition: FPGATrackSimReportingConfig.py:12
FPGATrackSimReportingConfig.FPGATrackSimActsInspectionToolCfg
def FPGATrackSimActsInspectionToolCfg()
Definition: FPGATrackSimReportingConfig.py:6