diff --git a/Simulation/SimuJobTransforms/share/skeleton.FilterHit.py b/Simulation/SimuJobTransforms/share/skeleton.FilterHit.py index 9ed07af610a7e501f6bb888e3392a7ac897ee785..ba7dea1c79fe31ec910c5954251d9a6d70e64ce2 100644 --- a/Simulation/SimuJobTransforms/share/skeleton.FilterHit.py +++ b/Simulation/SimuJobTransforms/share/skeleton.FilterHit.py @@ -99,7 +99,8 @@ else: ServiceMgr.EventSelector.InputCollections = athenaCommonFlags.PoolHitsInput() theApp.EvtSel = "EventSelector" # Number of input events to be skipped -ServiceMgr.EventSelector.SkipEvents = athenaCommonFlags.SkipEvents() +if hasattr(runArgs,"skipEvents"): + ServiceMgr.EventSelector.SkipEvents = athenaCommonFlags.SkipEvents() #-------------------------------------------------------------- # Setup Output