diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolReadConfig.py b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolReadConfig.py index 5509d59ae138cd44d469e67bd169a149a719c0cf..34430cbe8bd2f3bc02737df800c261068efbabc8 100644 --- a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolReadConfig.py +++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolReadConfig.py @@ -54,6 +54,12 @@ def EventSelectorAthenaPoolCfg(flags): pass from AthenaKernel.EventIdOverrideConfig import EvtIdModifierSvcCfg result.merge(EvtIdModifierSvcCfg(flags)) + elif flags.Common.ProductionStep in [ProductionStep.Simulation] and len(flags.Input.RunNumber) and flags.Sim.ISF.ReSimulation: + # ReSimulation case + evSel.OverrideRunNumber = True + evSel.RunNumber = flags.Input.RunNumber[0] + if flags.Input.LumiBlockNumber: evSel.FirstLB = flags.Input.LumiBlockNumber[0] + evSel.InitialTimeStamp = flags.IOVDb.RunToTimestampDict.get(flags.Input.RunNumber[0], 1) result.addService(evSel) return result