Skip to content
Snippets Groups Projects
Commit 6afaaaaf authored by John Derek Chapman's avatar John Derek Chapman Committed by Atlas Nightlybuild
Browse files

Merge branch 'FixMissingDetFlagsImport' into '21.3'

Fixing issue with DetFlags import ; Update skeleton.EVGENtoRDO.py

See merge request atlas/athena!10184

(cherry picked from commit 0e5492c2 [formerly a8ec63fafbf6d6583b17bdac62c72cfdc7f0e7ba])

c7ea903d Fixing issue with DetFlags import ; Update skeleton.EVGENtoRDO.py
26b0f391 Update skeleton.EVGENtoRDO.py

Former-commit-id: 682d064c00f3bba29abb372ed5fe0aea1824d340
parent f6ee1c5e
No related branches found
No related tags found
No related merge requests found
...@@ -143,8 +143,8 @@ try: ...@@ -143,8 +143,8 @@ try:
except: except:
## Select detectors ## Select detectors
if 'DetFlags' not in dir(): if 'DetFlags' not in dir():
## If you configure one det flag, you're responsible for configuring them all!
from AthenaCommon.DetFlags import DetFlags from AthenaCommon.DetFlags import DetFlags
## If you configure one det flag, you're responsible for configuring them all!
DetFlags.all_setOn() DetFlags.all_setOn()
DetFlags.LVL1_setOff() # LVL1 is not part of G4 sim DetFlags.LVL1_setOff() # LVL1 is not part of G4 sim
DetFlags.Truth_setOn() DetFlags.Truth_setOn()
...@@ -153,6 +153,7 @@ except: ...@@ -153,6 +153,7 @@ except:
if checkHGTDOff is not None: if checkHGTDOff is not None:
checkHGTDOff() #Default for now checkHGTDOff() #Default for now
from AthenaCommon.DetFlags import DetFlags
DetFlags.Print() DetFlags.Print()
# removed configuration of forward detectors from standard simulation config # removed configuration of forward detectors from standard simulation config
......
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