Skip to content
Snippets Groups Projects
Commit c5c1a0bd authored by James Beacham's avatar James Beacham Committed by Atlas Nightlybuild
Browse files

Merge branch 'feature-checkDoTRTInTracklet' into '21.0'

Fix a potential bug about pixel prd tracklets

See merge request atlas/athena!7452

(cherry picked from commit c2190ce6 [formerly 9adf79eefa6dceb7eb25ea911496275b3b085208])

07dbe00f Fix a potential bug in tracklet reconstruction. Added a check of TRT existence
ef0b36fb Merge remote-tracking branch 'remotes/upstream/21.0' into feature-checkDoTRTInTracklet

Former-commit-id: 32b2d124e19a20704d707414094cf44de8efdb01
parent 5fa7a553
No related branches found
No related tags found
No related merge requests found
......@@ -691,14 +691,15 @@ else:
TrackCollectionKeys,
TrackCollectionTruthKeys)
include ("InDetRecExample/ConfiguredNewTrackingTRTExtension.py")
InDetPixelTrackingTRTExtension = ConfiguredNewTrackingTRTExtension(InDetNewTrackingCutsPixelPrdAssociation,
InDetKeys.ResolvedPixelPrdAssociationTracks(),
InDetKeys.ExtendedTracksPixelPrdAssociation(),
InDetKeys.ExtendedTracksMapPixelPrdAssociation(),
TrackCollectionKeys,
TrackCollectionTruthKeys,
False)
if InDetFlags.doTRTExtension() :
include ("InDetRecExample/ConfiguredNewTrackingTRTExtension.py")
InDetPixelTrackingTRTExtension = ConfiguredNewTrackingTRTExtension(InDetNewTrackingCutsPixelPrdAssociation,
InDetKeys.ResolvedPixelPrdAssociationTracks(),
InDetKeys.ExtendedTracksPixelPrdAssociation(),
InDetKeys.ExtendedTracksMapPixelPrdAssociation(),
TrackCollectionKeys,
TrackCollectionTruthKeys,
False)
# ------------------------------------------------------------
#
......@@ -1063,7 +1064,10 @@ else:
# Dummy Merger to fill additional info for PRD-associated pixel tracklets
if InDetFlags.doTrackSegmentsPixelPrdAssociation():
DummyCollection = []
DummyCollection += [ InDetKeys.ExtendedTracksPixelPrdAssociation()]
if InDetFlags.doTRTExtension() :
DummyCollection += [ InDetKeys.ExtendedTracksPixelPrdAssociation()]
else :
DummyCollection += [ InDetKeys.ResolvedPixelPrdAssociationTracks()]
TrkTrackCollectionMerger_pix = Trk__TrackCollectionMerger(name = "InDetTrackCollectionMerger_pix",
TracksLocation = DummyCollection,
OutputTracksLocation = InDetKeys.PixelPrdAssociationTracks(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment