From 89eee84c7836ef04bf0ffdb4eaeae9e97084e4ae Mon Sep 17 00:00:00 2001
From: adbailey <adam.bailey@cern.ch>
Date: Wed, 27 Jun 2018 16:33:17 +0200
Subject: [PATCH] Adding last core builder tool to TauRecBuilder

---
 Reconstruction/tauRec/python/TauRecBuilder.py | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/Reconstruction/tauRec/python/TauRecBuilder.py b/Reconstruction/tauRec/python/TauRecBuilder.py
index 0f1befbb7050..a70aab4785ee 100644
--- a/Reconstruction/tauRec/python/TauRecBuilder.py
+++ b/Reconstruction/tauRec/python/TauRecBuilder.py
@@ -127,18 +127,19 @@ class TauRecCoreBuilder ( TauRecConfigured ) :
             ## TODO: talk with KG about the status of the new PhotonConversionFinder 
             ## new PhotonConversionFinder is currently disabled (time consumption!)
             ## old one is still in use
-            #import tauRec.TauConversionAlgorithms
-            #from tauRec.tauRecFlags import jobproperties
-            #if jobproperties.tauRecFlags.useNewPIDBasedConvFinder():
+            import tauRec.TauConversionAlgorithms
+            from tauRec.tauRecFlags import jobproperties
+            if jobproperties.tauRecFlags.useNewPIDBasedConvFinder():
                 #Needs to run alone
-                #tools.append(tauRec.TauConversionAlgorithms.getTauConversionTaggerTool())
-            #else:
+                tools.append(tauRec.TauConversionAlgorithms.getTauConversionTaggerTool())
+            # are these even used? Probably not any more
+            # else:
                 #Need to run together, they will select either PID or vertex based on another flag
                 #tools.append(tauRec.TauConversionAlgorithms.getPhotonConversionTool())
                 #tools.append(tauRec.TauConversionAlgorithms.getTauConversionFinderTool())
             
-            ##already commented out#tools.append(taualgs.getContainerLock())
-            
+            #tools.append(taualgs.getContainerLock())
+                
             from tauRec.tauRecFlags import tauFlags
             tools+=tauFlags.tauRecToolsDevToolList()
             TauRecConfigured.AddToolsToToolSvc(self, tools)
-- 
GitLab