From c9b1630e8755eb7bc2d87d4b123dca9dbbbd565b Mon Sep 17 00:00:00 2001
From: Dave Casper <dcasper@uci.edu>
Date: Sat, 17 Apr 2021 12:18:20 -0700
Subject: [PATCH] Remove debugging output

---
 Control/CalypsoConfiguration/python/AllConfigFlags.py       | 2 --
 Control/CalypsoConfiguration/python/AutoConfigFlags.py      | 6 +++---
 Control/CalypsoConfiguration/python/GeoModelConfigFlags.py  | 4 ++--
 .../GeoModel/FaserGeoModel/python/CommonGeoDB.py            | 3 ---
 .../GeoModel/FaserGeoModel/python/FaserGeoDBInterface.py    | 1 -
 5 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/Control/CalypsoConfiguration/python/AllConfigFlags.py b/Control/CalypsoConfiguration/python/AllConfigFlags.py
index 8cc83b1e..cf26c40c 100644
--- a/Control/CalypsoConfiguration/python/AllConfigFlags.py
+++ b/Control/CalypsoConfiguration/python/AllConfigFlags.py
@@ -1,7 +1,5 @@
 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
 
-from __future__ import print_function
-
 from AthenaConfiguration.AllConfigFlags import ConfigFlags as athenaConfigFlags
 # from AthenaConfiguration.AllConfigFlags import GetFileMD
 # from AthenaConfiguration.AthConfigFlags import AthConfigFlags
diff --git a/Control/CalypsoConfiguration/python/AutoConfigFlags.py b/Control/CalypsoConfiguration/python/AutoConfigFlags.py
index b81df65f..34743881 100644
--- a/Control/CalypsoConfiguration/python/AutoConfigFlags.py
+++ b/Control/CalypsoConfiguration/python/AutoConfigFlags.py
@@ -97,9 +97,9 @@ def getDefaultDetectors(geoTag):
     detectors.add('CentralDipole')
     detectors.add('DownstreamDipole')
     
-    print("DetDescrInfo Run = ", DetDescrInfo(geoTag)['Common']['Run'])
-    print("DetDescrInfo TrackerType = ", DetDescrInfo(geoTag)['Common']['TrackerType'])
-    print("DetDescrInfo FaserNuType = ", DetDescrInfo(geoTag)['Common']['FaserNuType'])
+    # print("DetDescrInfo Run = ", DetDescrInfo(geoTag)['Common']['Run'])
+    # print("DetDescrInfo TrackerType = ", DetDescrInfo(geoTag)['Common']['TrackerType'])
+    # print("DetDescrInfo FaserNuType = ", DetDescrInfo(geoTag)['Common']['FaserNuType'])
 
     # if DetDescrInfo(geoTag)['Common']['Run'] == 'RUN4':
     #     detectors.add('ITkPixel')
diff --git a/Control/CalypsoConfiguration/python/GeoModelConfigFlags.py b/Control/CalypsoConfiguration/python/GeoModelConfigFlags.py
index 3b199401..448d65d8 100644
--- a/Control/CalypsoConfiguration/python/GeoModelConfigFlags.py
+++ b/Control/CalypsoConfiguration/python/GeoModelConfigFlags.py
@@ -14,8 +14,8 @@ def createGeoModelConfigFlags():
     return gcf
 
 def modifyGeoModelConfigFlags(flags):
-    print("modifyGeoModelConfigFlags called for FaserVersion: ", flags.GeoModel.FaserVersion)
+    # print("modifyGeoModelConfigFlags called for FaserVersion: ", flags.GeoModel.FaserVersion)
     flags.GeoModel.Run = lambda prevFlags : DetDescrInfo(prevFlags.GeoModel.FaserVersion)['Common']['Run']
-    print(DetDescrInfo(flags.GeoModel.FaserVersion)['Common']['Run'])
+    # print(DetDescrInfo(flags.GeoModel.FaserVersion)['Common']['Run'])
     return flags
  
\ No newline at end of file
diff --git a/DetectorDescription/GeoModel/FaserGeoModel/python/CommonGeoDB.py b/DetectorDescription/GeoModel/FaserGeoModel/python/CommonGeoDB.py
index 4fa37231..03a70668 100644
--- a/DetectorDescription/GeoModel/FaserGeoModel/python/CommonGeoDB.py
+++ b/DetectorDescription/GeoModel/FaserGeoModel/python/CommonGeoDB.py
@@ -7,9 +7,6 @@ def InitializeGeometryParameters(dbGeomCursor):
    """
 
    dbId, dbCommon, dbParam = dbGeomCursor.GetCurrentLeafContent("FaserCommon")
-   print("dbId = ", dbId)
-   print("dbCommon = ", dbCommon)
-   print("dbParam = ", dbParam)
 
    params = {"Run" : "UNDEFINED",
              "TrackerType" : "UNDEFINED",
diff --git a/DetectorDescription/GeoModel/FaserGeoModel/python/FaserGeoDBInterface.py b/DetectorDescription/GeoModel/FaserGeoModel/python/FaserGeoDBInterface.py
index fe851e83..03f0870a 100644
--- a/DetectorDescription/GeoModel/FaserGeoModel/python/FaserGeoDBInterface.py
+++ b/DetectorDescription/GeoModel/FaserGeoModel/python/FaserGeoDBInterface.py
@@ -178,7 +178,6 @@ class FaserGeoDBInterface:
 
         # check if table is defined in the current geometry
         if leafName not in self.TagAndNodeVersionDict:
-            print("leafName not found")
             dbId=[]
             dbContent={}
             paramName=[]
-- 
GitLab