From 8a8e83f1b664307e660b545651c014d4313c8f0f Mon Sep 17 00:00:00 2001 From: Tamara Vazquez Schroeder <tamara.vazquez.schroeder@cern.ch> Date: Tue, 10 Apr 2018 16:10:12 +0000 Subject: [PATCH] Merge branch 'cherry-pick-0e5492c26e [formerly a8ec63fafb]-21.0' into '21.0' Sweeping !10184 from 21.3 to 21.0. Fixing issue with DetFlags import ; Update skeleton.EVGENtoRDO.py See merge request atlas/athena!10234 (cherry picked from commit aa3fee2b7d8f5babcc8795249ee3fc0d11fca332 [formerly 61c029898dea2dec7b0d27fdcff06c87477dfe6b]) 682d064c Merge branch 'FixMissingDetFlagsImport' into '21.3' Former-commit-id: 272a02c875b4c8e808829223df7f48f568d1f652 --- Tools/FullChainTransforms/share/skeleton.EVGENtoRDO.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/FullChainTransforms/share/skeleton.EVGENtoRDO.py b/Tools/FullChainTransforms/share/skeleton.EVGENtoRDO.py index ba246871f5e..946160525a8 100644 --- a/Tools/FullChainTransforms/share/skeleton.EVGENtoRDO.py +++ b/Tools/FullChainTransforms/share/skeleton.EVGENtoRDO.py @@ -143,8 +143,8 @@ try: except: ## Select detectors if 'DetFlags' not in dir(): - ## If you configure one det flag, you're responsible for configuring them all! 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.Truth_setOn() @@ -153,6 +153,7 @@ except: if checkHGTDOff is not None: checkHGTDOff() #Default for now +from AthenaCommon.DetFlags import DetFlags DetFlags.Print() # removed configuration of forward detectors from standard simulation config -- GitLab