diff --git a/PhysicsAnalysis/TruthParticleID/McParticleAlgs/share/TruthParticleBuilder_jobOptions.py b/PhysicsAnalysis/TruthParticleID/McParticleAlgs/share/TruthParticleBuilder_jobOptions.py index dab49512a52d892beba32a41c8ab7a36dc0f4767..144c1b8de663cea957d94b5596b7d6b5cbc32db6 100755 --- a/PhysicsAnalysis/TruthParticleID/McParticleAlgs/share/TruthParticleBuilder_jobOptions.py +++ b/PhysicsAnalysis/TruthParticleID/McParticleAlgs/share/TruthParticleBuilder_jobOptions.py @@ -31,9 +31,9 @@ from McParticleAlgs.JobOptCfg import McAodBuilder,createMcAodBuilder,PileUpClass # This needs to come before the McAodBuilder below; otherwise, # xAODTruthCnvAlg will also try to rebuild TruthEvents. if (objKeyStore.isInInput( "xAOD::TruthEventContainer", "TruthEvents" ) and - not objKeyStore.isInInput( "xAODTrigParticleLinkVector", "xAODTruthLinks" ) ): + not objKeyStore.isInInput( "xAODTruthParticleLinkVector", "xAODTruthLinks" ) ): from xAODTruthCnv.xAODTruthCnvConf import xAODMaker__xAODTruthCnvAlg - job += xAODMaker__xAODTruthCnvAlg("GEN_AOD2xAOD") + job += xAODMaker__xAODTruthCnvAlg("GEN_AOD2xAOD_links", OnlyRedoLinks = True) if (objKeyStore.isInInput( "McEventCollection", "TruthEvent" ) and not objKeyStore.isInInput( "McEventCollection", "GEN_AOD" )):