Skip to content
Snippets Groups Projects
Commit c2190ce6 authored by James Beacham's avatar James Beacham
Browse files

Merge branch 'feature-checkDoTRTInTracklet' into '21.0'

Fix a potential bug about pixel prd tracklets

See merge request atlas/athena!7452

Former-commit-id: 9adf79eefa6dceb7eb25ea911496275b3b085208
parents 1d51307d 7bf0bd72
No related branches found
No related tags found
No related merge requests found
......@@ -692,14 +692,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)
# ------------------------------------------------------------
#
......@@ -1067,7 +1068,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