Skip to content
Snippets Groups Projects
Commit 3a2d2f7c authored by Olivier Arnaez's avatar Olivier Arnaez
Browse files

Update skeleton.EVGENtoRDO.py

Former-commit-id: 26b0f391dfb35856f4cfb1aac7fd8504469d15f1
parent 58100fe7
No related branches found
No related tags found
No related merge requests found
...@@ -133,7 +133,6 @@ if hasattr(runArgs, 'simulator') and runArgs.simulator.find('ATLFASTIIF')>=0: ...@@ -133,7 +133,6 @@ if hasattr(runArgs, 'simulator') and runArgs.simulator.find('ATLFASTIIF')>=0:
TrkDetFlags.TRT_BuildStrawLayers=True TrkDetFlags.TRT_BuildStrawLayers=True
fast_chain_log.info('Enabled TRT_BuildStrawLayers to get hits in ATLFASTIIF') fast_chain_log.info('Enabled TRT_BuildStrawLayers to get hits in ATLFASTIIF')
from AthenaCommon.DetFlags import DetFlags
try: try:
from ISF_Config import FlagSetters from ISF_Config import FlagSetters
FlagSetters.configureFlagsBase() FlagSetters.configureFlagsBase()
...@@ -143,8 +142,10 @@ try: ...@@ -143,8 +142,10 @@ try:
configureFlags() configureFlags()
except: except:
## Select detectors ## Select detectors
## If you configure one det flag, you're responsible for configuring them all! if 'DetFlags' not in dir():
DetFlags.all_setOn() from AthenaCommon.DetFlags import DetFlags
## If you configure one det flag, you're responsible for configuring them all!
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()
DetFlags.Forward_setOff() # Forward dets are off by default DetFlags.Forward_setOff() # Forward dets are off by default
...@@ -152,6 +153,7 @@ except: ...@@ -152,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