From ce2f26c298acc2e168cf09b6d6f50f426332f02a Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Sun, 16 Apr 2017 05:21:35 +0200
Subject: [PATCH] G4AtlasApps: Set notag for output stream.

Need to set notag=True on the output stream to avoid a crash due to not having
xAOD::EventInfo available.



Former-commit-id: 276b64b08ee490d2a0bcc23cac5b8b26047be015
---
 Simulation/G4Atlas/G4AtlasApps/python/PyG4Atlas.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Simulation/G4Atlas/G4AtlasApps/python/PyG4Atlas.py b/Simulation/G4Atlas/G4AtlasApps/python/PyG4Atlas.py
index 5e03a1a93a0..ad850578802 100644
--- a/Simulation/G4Atlas/G4AtlasApps/python/PyG4Atlas.py
+++ b/Simulation/G4Atlas/G4AtlasApps/python/PyG4Atlas.py
@@ -589,7 +589,7 @@ class SimSkeleton(object):
         ## only changing it in Hive.
         as_alg = is_hive
         ## NB. Two-arg constructor is needed, since otherwise metadata writing fails!
-        stream1 = AthenaPoolOutputStream("StreamHITS", athenaCommonFlags.PoolHitsOutput(), asAlg=as_alg)
+        stream1 = AthenaPoolOutputStream("StreamHITS", athenaCommonFlags.PoolHitsOutput(), asAlg=as_alg, noTag=True)
 
         ## Write geometry tag info - move to main method
         #import EventInfoMgt.EventInfoMgtInit
-- 
GitLab