From 8422717e417c09c579fc8a7b4ad276b6d86aacca Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Mon, 17 Aug 2020 15:40:21 -0400
Subject: [PATCH 1/2] AthenaPython: Remove reference to enable_tree_speedups.

Remove call to obsolete enable_tree_speedups().
---
 Control/AthenaPython/python/Bindings.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/Control/AthenaPython/python/Bindings.py b/Control/AthenaPython/python/Bindings.py
index 6672e2c22200..d33e32d296b7 100644
--- a/Control/AthenaPython/python/Bindings.py
+++ b/Control/AthenaPython/python/Bindings.py
@@ -611,13 +611,6 @@ del %s""" % (n,n,n,n,n)
     del popitem
     ## ------------------------------
 
-    ## try to install ttree access enhancement
-    try:
-        from RootUtils.PyROOTFixes import enable_tree_speedups
-        enable_tree_speedups()
-    except ImportError:
-        pass
-
     ## FIXME: would be nice... but somehow interferes with _py_cache property
 ##     ## allow the use of the pythonized properties interface
 ##     def __getattr__( self, attr ):
-- 
GitLab


From 72b2c6992d1ec7cd96a3be4647e4edd91172af98 Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Mon, 17 Aug 2020 15:34:15 -0400
Subject: [PATCH 2/2] AthenaROOTAccess: Remove reference to
 enable_tree_speedups.

Remove call to obsolete enable_tree_speedups().
---
 PhysicsAnalysis/AthenaROOTAccess/python/transientTree.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/PhysicsAnalysis/AthenaROOTAccess/python/transientTree.py b/PhysicsAnalysis/AthenaROOTAccess/python/transientTree.py
index ad0c5fba3cb1..605e3308b409 100755
--- a/PhysicsAnalysis/AthenaROOTAccess/python/transientTree.py
+++ b/PhysicsAnalysis/AthenaROOTAccess/python/transientTree.py
@@ -1026,9 +1026,6 @@ if ROOT.gApplication.GetName() != "TRint":
 #reg.AddConverter ("TrigInDetTrackTruthMap_old_cnv")
 
 
-# Enable TTree speedups.
-PyROOTFixes.enable_tree_speedups()
-
 # Enable container conversions.
 import ROOT
 ROOT.TConvertingStreamerInfo.Initialize()
-- 
GitLab