diff --git a/Trigger/TrigFTK/FTK_RecExample/share/FTKRec_jobOptions.py b/Trigger/TrigFTK/FTK_RecExample/share/FTKRec_jobOptions.py index f45d13d98a9184ee0c52b9cce7c6156212caffe6..f17caf646e3b923436ef5c43404f634df72b5973 100644 --- a/Trigger/TrigFTK/FTK_RecExample/share/FTKRec_jobOptions.py +++ b/Trigger/TrigFTK/FTK_RecExample/share/FTKRec_jobOptions.py @@ -68,3 +68,29 @@ if rec.doFTK(): FTKRefitTrackParticleCnvAlg.TrackTruthContainerName = "FTK_RefitTracks_TruthCollection" FTKRefitTrackParticleCnvAlg.PrintIDSummaryInfo = True topSequence += FTKRefitTrackParticleCnvAlg + + augmentation_tools = [] + from DerivationFrameworkInDet.DerivationFrameworkInDetConf import (DerivationFramework__TrackParametersForTruthParticles) + + TruthDecor = DerivationFramework__TrackParametersForTruthParticles( + name="TruthTPDecor", + TruthParticleContainerName="TruthParticles", + DecorationPrefix="") + augmentation_tools.append(TruthDecor) + + # Set up derivation framework + from AthenaCommon import CfgMgr + + theFTKseq = CfgMgr.AthSequencer("FTKSeq") + from DerivationFrameworkCore.DerivationFrameworkCoreConf import ( + DerivationFramework__CommonAugmentation) + + from AthenaCommon.AppMgr import ToolSvc + ToolSvc += DerivationFramework__TrackParametersForTruthParticles('TruthTPDecor') + theFTKseq += CfgMgr.DerivationFramework__CommonAugmentation( + "TSOS_Kernel", + AugmentationTools=augmentation_tools, + OutputLevel=INFO) + topSequence += theFTKseq + +