From d88e39cf0510f9b954663422a95e076fef60622f Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Fri, 8 Feb 2019 22:46:13 +0100
Subject: [PATCH] AthenaCommon: Don't have xAODEventInfoCnv run in beginRun().

When we set up xAODEventInfoCnv in AtlasUnitGeneratorJob,
disable DoBeginRun.
---
 Control/AthenaCommon/python/AtlasUnixGeneratorJob.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Control/AthenaCommon/python/AtlasUnixGeneratorJob.py b/Control/AthenaCommon/python/AtlasUnixGeneratorJob.py
index db89ace8026..2c6e7326208 100755
--- a/Control/AthenaCommon/python/AtlasUnixGeneratorJob.py
+++ b/Control/AthenaCommon/python/AtlasUnixGeneratorJob.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
 
 ## @file AtlasUnixGeneratorJob.py
 ## @brief py-module to configure the Athena AppMgr for generator (UNIX) jobs
@@ -29,7 +29,7 @@ def _setupAtlasUnixGeneratorJob():
     from AthenaCommon.AlgSequence import AthSequencer
     topSequence = AthSequencer("AthAlgSeq")
     from xAODEventInfoCnv.xAODEventInfoCnvConf import xAODMaker__EventInfoCnvAlg
-    topSequence += xAODMaker__EventInfoCnvAlg()
+    topSequence += xAODMaker__EventInfoCnvAlg(DoBeginRun = False, AODKey = 'McEventInfo')
 
     return
 
-- 
GitLab