Skip to content
Snippets Groups Projects
Commit 49dd6494 authored by Tamara Vazquez Schroeder's avatar Tamara Vazquez Schroeder
Browse files

Merge branch 'G4AtlasGeoTestFix_ATLASSIM-3641' into '21.0'

Fix job options for athena_G4AtlasGeoTest ART/RTT job (ATLASSIM-3641)

See merge request atlas/athena!10820

Former-commit-id: c4b36fd03a905737b3b300d8a5988f5473a29c5f
parents b8d5a875 00de7dbd
No related merge requests found
......@@ -16,7 +16,7 @@ DetFlags.Muon_setOn()
## AthenaCommon flags
from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
athenaCommonFlags.PoolHitsOutput = 'g4atlas.hits.pool.root'
athenaCommonFlags.EvtMax = 3
athenaCommonFlags.EvtMax = 1
## Set global conditions tag
from AthenaCommon.GlobalFlags import jobproperties
......@@ -62,14 +62,11 @@ except:
print "WARNING: the fast physics list is dead! We need to tell this JO to run particle transport only"
simFlags.InitFunctions.add_function("preInitG4", setup_g4geo)
## Exit before instantiation to level 2
def force_exit():
from AthenaCommon.AppMgr import theApp
theApp.exit(0)
simFlags.InitFunctions.add_function("preInitG4", force_exit)
include("G4AtlasApps/G4Atlas.flat.configuration.py")
from AthenaCommon.CfgGetter import getAlgorithm
topSeq += getAlgorithm("BeamEffectsAlg", tryDefaultConfigurable=True)
## Add app to alg sequence
from AthenaCommon.CfgGetter import getAlgorithm
job += getAlgorithm("G4AtlasAlg",tryDefaultConfigurable=True)
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