From 99dc58c98ec2d4176cd4adf29753bfc47f8dfc73 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Thu, 23 Jan 2020 16:35:46 +0100
Subject: [PATCH] PyDumper: Fix problem with pixel configuration

If we run the event dump job configuration, it was crashing
because PixelDCSCondHVAlg was being added to the conditions sequence
without the stuff it depends on.  However, we don't need any of that
stuff at all here; we can suppress it by enabling the doAODMerging flag.
So do that.

(Eventually should change this to the new job configuration...)
---
 Event/PyDumper/python/SgDumpLib.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Event/PyDumper/python/SgDumpLib.py b/Event/PyDumper/python/SgDumpLib.py
index 2cda0d0fe96..efcce5bbb85 100644
--- a/Event/PyDumper/python/SgDumpLib.py
+++ b/Event/PyDumper/python/SgDumpLib.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 
 # @file    PyDumper.SgDumpLib
 # @purpose API for the sg-dump script
@@ -87,6 +87,9 @@ def _gen_jobo(dct):
                      ):
             getattr (rec, item).set_Value_and_Lock(False)
 
+        # Disables more stuff we don't need.
+        rec.doAODMerging.set_Value_and_Lock(True)
+
         # events to process
         acf.EvtMax = %(evts)s
         acf.SkipEvents = %(skip)s
-- 
GitLab