Skip to content
Snippets Groups Projects
Commit 0ca590ad authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'IDTRKVALID_master_fix_split_track_creation' into 'master'

Fix creation of split track particles.

See merge request atlas/athena!42127
parents 10a96df3 88bb705b
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ from InDetRecExample.InDetJobProperties import InDetFlags
from DerivationFrameworkInDet.InDetCommon import *
from InDetPrepRawDataToxAOD.InDetDxAODJobProperties import InDetDxAODFlags
from InDetRecExample import TrackingCommon
# Select active sub-systems
dumpPixInfo = InDetDxAODFlags.DumpPixelInfo()
......@@ -140,7 +141,8 @@ if makeSplitTracks:
# Create xAOD::TrackParticles out of them
from TrkParticleCreator.TrkParticleCreatorConf import Trk__TrackParticleCreatorTool
InDetxAODSplitParticleCreatorTool = Trk__TrackParticleCreatorTool(name = "InDetSplitxAODParticleCreatorTool",
TrackSummaryTool = InDetTrackSummaryToolSharedHits,
TrackToVertex = TrackingCommon.getInDetTrackToVertexTool(),
TrackSummaryTool = TrackingCommon.getInDetTrackSummaryToolSharedHits(),
KeepParameters = True)
ToolSvc += InDetxAODSplitParticleCreatorTool
# The following adds truth information, but needs further testing
......@@ -148,6 +150,7 @@ if makeSplitTracks:
#if isIdTrkDxAODSimulation:
# InDetSplitTracksTruth = ConfiguredInDetTrackTruth("Tracks_splitID",'SplitTrackDetailedTruth','SplitTrackTruth')
from xAODTrackingCnv.xAODTrackingCnvConf import xAODMaker__TrackParticleCnvAlg
xAODSplitTrackParticleCnvAlg = xAODMaker__TrackParticleCnvAlg('InDetSplitTrackParticles')
xAODSplitTrackParticleCnvAlg.xAODContainerName = 'InDetSplitTrackParticles'
xAODSplitTrackParticleCnvAlg.xAODTrackParticlesFromTracksContainerName = 'InDetSplitTrackParticles'
......
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