ATLAS Offline Software
Functions
FPGATrackSimPrototrackFitterConfig Namespace Reference

Functions

ComponentAccumulator FPGAPrototrackFitAlgCfg (flags, str name="ActsProtoTrackCreationAndFitAlg", **kwargs)
 
def FPGAProtoTrackFitCfg (flags, name="FPGAPrototrackFitterConfig", stage='', **kwargs)
 
def FPGATruthDecorationCfg (flags, FinalProtoTrackChainxAODTracksKey="xAODFPGAPrototracks", stage='', **kwargs)
 

Function Documentation

◆ FPGAPrototrackFitAlgCfg()

ComponentAccumulator FPGATrackSimPrototrackFitterConfig.FPGAPrototrackFitAlgCfg (   flags,
str   name = "ActsProtoTrackCreationAndFitAlg",
**  kwargs 
)

Definition at line 6 of file FPGATrackSimPrototrackFitterConfig.py.

7  name: str = "ActsProtoTrackCreationAndFitAlg",
8  **kwargs) -> ComponentAccumulator:
10 
11  from ActsConfig.ActsGeometryConfig import ActsDetectorElementToActsGeometryIdMappingAlgCfg
13  kwargs.setdefault('DetectorElementToActsGeometryIdMapKey', 'DetectorElementToActsGeometryIdMap')
14 
15  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
16  acc.merge(ITkPixelReadoutGeometryCfg(flags))
17 
18  from StripGeoModelXml.ITkStripGeoModelConfig import ITkStripReadoutGeometryCfg
19  acc.merge(ITkStripReadoutGeometryCfg(flags))
20 
21 
22  if "TrackingGeometryTool" not in kwargs:
23  from ActsConfig.ActsGeometryConfig import ActsTrackingGeometryToolCfg
24  kwargs.setdefault(
25  "TrackingGeometryTool",
26  acc.popToolsAndMerge(ActsTrackingGeometryToolCfg(flags)),
27  ) # PrivateToolHandle
28 
29  if 'ExtrapolationTool' not in kwargs:
30  from ActsConfig.ActsGeometryConfig import ActsExtrapolationToolCfg
31  kwargs.setdefault(
32  "ExtrapolationTool",
33  acc.popToolsAndMerge(ActsExtrapolationToolCfg(flags, MaxSteps=10000)),
34  ) # PrivateToolHandle
35 
36  if 'ActsFitter' not in kwargs:
37  from ActsConfig.ActsTrackFittingConfig import ActsFitterCfg
38  kwargs.setdefault("ActsFitter", acc.popToolsAndMerge(ActsFitterCfg(flags,
39  ReverseFilteringPt=0,
40  OutlierChi2Cut=30)))
41 
42  acc.addEventAlgo(CompFactory.FPGATrackSim.FPGATrackSimPrototrackFitterAlg(name,**kwargs),
43  primary=True)
44  return acc
45 

◆ FPGAProtoTrackFitCfg()

def FPGATrackSimPrototrackFitterConfig.FPGAProtoTrackFitCfg (   flags,
  name = "FPGAPrototrackFitterConfig",
  stage = '',
**  kwargs 
)

Definition at line 46 of file FPGATrackSimPrototrackFitterConfig.py.

46 def FPGAProtoTrackFitCfg(flags, name="FPGAPrototrackFitterConfig", stage = '', **kwargs):
47 
48  ACTSProtoTrackChainTrackKey = "ACTSProtoTrackChainTestTracks"
49 
50  acc = ComponentAccumulator()
51  from InDetConfig.ITkTrackRecoConfig import ITkTrackRecoCfg
52  acc.merge(ITkTrackRecoCfg(flags))
53 
54 
55  # ProtoTrackChain Track algo
56  acc.merge(FPGAPrototrackFitAlgCfg(flags,"FPGATrackSimProtoTackFitAlg",
57  ACTSTracksLocation=ACTSProtoTrackChainTrackKey,
58  FPGATrackSimActsProtoTracks=f"ActsProtoTracks{stage}FromFPGATrack",
59  **kwargs))
60  return acc
61 

◆ FPGATruthDecorationCfg()

def FPGATrackSimPrototrackFitterConfig.FPGATruthDecorationCfg (   flags,
  FinalProtoTrackChainxAODTracksKey = "xAODFPGAPrototracks",
  stage = '',
**  kwargs 
)

Definition at line 62 of file FPGATrackSimPrototrackFitterConfig.py.

62 def FPGATruthDecorationCfg(flags, FinalProtoTrackChainxAODTracksKey="xAODFPGAPrototracks", stage = '', **kwargs):
63 
65  from ActsConfig.ActsTruthConfig import ActsTruthParticleHitCountAlgCfg, ActsPixelClusterToTruthAssociationAlgCfg,ActsStripClusterToTruthAssociationAlgCfg
66 
67  ACTSProtoTrackChainTrackKey = "ACTSProtoTrackChainTestTracks"
68  FinalProtoTrackChainxAODTracksKey=FinalProtoTrackChainxAODTracksKey
69 
70  acc = ComponentAccumulator()
71 
73  name="ActsFPGAPixelClusterToTruthAssociationAlg",
74  InputTruthParticleLinks="xAODFPGATruthLinks",
75  AssociationMapOut="ITkFPGAPixelClustersToTruthParticles",
76  Measurements=f"xAODPixelClusters{stage}FromFPGACluster"))
77 
79  name="ActsFPGAStripClusterToTruthAssociationAlg",
80  InputTruthParticleLinks="xAODFPGATruthLinks",
81  AssociationMapOut="ITkFPGAStripClustersToTruthParticles",
82  Measurements=f"xAODStripClusters{stage}FromFPGACluster"))
83 
84 
85  acc.merge(ActsTruthParticleHitCountAlgCfg(flags,
86  name="ActsFPGATruthParticleHitCountAlg",
87  PixelClustersToTruthAssociationMap="ITkFPGAPixelClustersToTruthParticles",
88  StripClustersToTruthAssociationMap="ITkFPGAStripClustersToTruthParticles",
89  TruthParticleHitCountsOut="FPGATruthParticleHitCounts"))
90 
91 
92  from ActsConfig.ActsTruthConfig import ActsTrackToTruthAssociationAlgCfg, ActsTrackFindingValidationAlgCfg
93  acts_tracks=f"{flags.Tracking.ActiveConfig.extension}Tracks" if not flags.Acts.doAmbiguityResolution else f"{flags.Tracking.ActiveConfig.extension}ResolvedTracks"
94  acc.merge(ActsTrackToTruthAssociationAlgCfg(flags,
95  name=f"{acts_tracks}FPGATrackToTruthAssociationAlg",
96  PixelClustersToTruthAssociationMap="ITkFPGAPixelClustersToTruthParticles",
97  StripClustersToTruthAssociationMap="ITkFPGAStripClustersToTruthParticles",
98  ACTSTracksLocation=ACTSProtoTrackChainTrackKey,
99  AssociationMapOut=acts_tracks+"FPGAToTruthParticleAssociation"))
100 
101 
102  acc.merge(ActsTrackFindingValidationAlgCfg(flags,
103  name=f"{acts_tracks}FPGATrackFindingValidationAlg",
104  TrackToTruthAssociationMap=acts_tracks+"FPGAToTruthParticleAssociation",
105  TruthParticleHitCounts="FPGATruthParticleHitCounts"
106  ))
107 
108 
110  prefix = flags.Tracking.ActiveConfig.extension
111  from ActsConfig.ActsTrackFindingConfig import ActsTrackToTrackParticleCnvAlgCfg
112  acc.merge(ActsTrackToTrackParticleCnvAlgCfg(flags, f"{prefix}ResolvedProtoTrackToAltTrackParticleCnvAlg",
113  ACTSTracksLocation=[ACTSProtoTrackChainTrackKey,],
114  TrackParticlesOutKey=f"{FinalProtoTrackChainxAODTracksKey}TrackParticles"))
115 
116  from ActsConfig.ActsTruthConfig import ActsTrackParticleTruthDecorationAlgCfg
118  f"{prefix}ActsFPGATrackParticleTruthDecorationAlg",
119  TrackToTruthAssociationMaps=[acts_tracks+"FPGAToTruthParticleAssociation"],
120  TrackParticleContainerName=f"{FinalProtoTrackChainxAODTracksKey}TrackParticles",
121  TruthParticleHitCounts="FPGATruthParticleHitCounts",
122  ComputeTrackRecoEfficiency=True))
123  return acc
FPGATrackSimPrototrackFitterConfig.FPGAProtoTrackFitCfg
def FPGAProtoTrackFitCfg(flags, name="FPGAPrototrackFitterConfig", stage='', **kwargs)
Definition: FPGATrackSimPrototrackFitterConfig.py:46
python.ITkTrackRecoConfig.ITkTrackRecoCfg
ComponentAccumulator ITkTrackRecoCfg(flags)
Main ITk tracking config #####################.
Definition: ITkTrackRecoConfig.py:533
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
FPGATrackSimPrototrackFitterConfig.FPGATruthDecorationCfg
def FPGATruthDecorationCfg(flags, FinalProtoTrackChainxAODTracksKey="xAODFPGAPrototracks", stage='', **kwargs)
Definition: FPGATrackSimPrototrackFitterConfig.py:62
ActsTruthConfig.ActsTruthParticleHitCountAlgCfg
ComponentAccumulator ActsTruthParticleHitCountAlgCfg(flags, str name='ActsTruthParticleHitCountAlg', **dict kwargs)
Definition: ActsTruthConfig.py:69
ActsTruthConfig.ActsTrackToTruthAssociationAlgCfg
ComponentAccumulator ActsTrackToTruthAssociationAlgCfg(flags, str name='ActsTracksToTruthAssociationAlg', **dict kwargs)
Definition: ActsTruthConfig.py:50
ActsTruthConfig.ActsPixelClusterToTruthAssociationAlgCfg
ComponentAccumulator ActsPixelClusterToTruthAssociationAlgCfg(flags, str name='ActsPixelClusterToTruthAssociationAlg', **dict kwargs)
Definition: ActsTruthConfig.py:20
ActsTruthConfig.ActsTrackFindingValidationAlgCfg
ComponentAccumulator ActsTrackFindingValidationAlgCfg(flags, str name='ActsTracksValidationAlg', **dict kwargs)
Definition: ActsTruthConfig.py:141
ActsGeometryConfig.ActsExtrapolationToolCfg
ComponentAccumulator ActsExtrapolationToolCfg(flags, str name="ActsExtrapolationTool", **kwargs)
Definition: ActsGeometryConfig.py:109
FPGATrackSimPrototrackFitterConfig.FPGAPrototrackFitAlgCfg
ComponentAccumulator FPGAPrototrackFitAlgCfg(flags, str name="ActsProtoTrackCreationAndFitAlg", **kwargs)
Definition: FPGATrackSimPrototrackFitterConfig.py:6
ActsGeometryConfig.ActsTrackingGeometryToolCfg
ComponentAccumulator ActsTrackingGeometryToolCfg(flags, str name="ActsTrackingGeometryTool")
Definition: ActsGeometryConfig.py:100
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkPixelGeoModelConfig.py:39
ActsGeometryConfig.ActsDetectorElementToActsGeometryIdMappingAlgCfg
ComponentAccumulator ActsDetectorElementToActsGeometryIdMappingAlgCfg(flags, str name="ActsDetectorElementToActsGeometryIdMappingAlg", **kwargs)
Definition: ActsGeometryConfig.py:257
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkStripGeoModelConfig.py:39
ActsTrackFittingConfig.ActsFitterCfg
ComponentAccumulator ActsFitterCfg(flags, str name="ActsKalmanFitter", **kwargs)
Definition: ActsTrackFittingConfig.py:8
ActsTruthConfig.ActsTrackParticleTruthDecorationAlgCfg
ComponentAccumulator ActsTrackParticleTruthDecorationAlgCfg(flags, str name='ActsTrackParticleTruthDecorationAlg', **dict kwargs)
Definition: ActsTruthConfig.py:116
ActsTruthConfig.ActsStripClusterToTruthAssociationAlgCfg
ComponentAccumulator ActsStripClusterToTruthAssociationAlgCfg(flags, str name='ActsStripClusterToTruthAssociationAlg', **dict kwargs)
Definition: ActsTruthConfig.py:35
ActsTrackFindingConfig.ActsTrackToTrackParticleCnvAlgCfg
ComponentAccumulator ActsTrackToTrackParticleCnvAlgCfg(flags, str name="ActsTrackToTrackParticleCnvAlg", **kwargs)
Definition: ActsTrackFindingConfig.py:322