From 4a172899a535bf3690f2043d8fbee0adeac5d87b Mon Sep 17 00:00:00 2001
From: Frank Winklmeier <frank.winklmeier@cern.ch>
Date: Tue, 10 Dec 2019 16:15:44 +0100
Subject: [PATCH] SCT_CalibAlgs: Remove usage of AuditBegin/EndRun

begin/endRun and their auditor hooks are deprecated and are removed in
the next Gaudi version.
---
 .../InDetCalibAlgs/SCT_CalibAlgs/share/SCTCalib_topOptions.py   | 2 --
 .../InDetCalibAlgs/SCT_CalibAlgs/share/referenceOptions.py      | 2 --
 .../InDetCalibAlgs/SCT_CalibAlgs/share/skeleton.sct_calib.py    | 2 --
 3 files changed, 6 deletions(-)

diff --git a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/SCTCalib_topOptions.py b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/SCTCalib_topOptions.py
index aa51d5b5b0e7..5a17fb5c1978 100755
--- a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/SCTCalib_topOptions.py
+++ b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/SCTCalib_topOptions.py
@@ -495,8 +495,6 @@ SCTCalib.LorentzAngleFile          = 'LorentzAngleFile.xml'          # Summary o
 
 SCTCalib.OutputLevel     = INFO # DEBUG
 SCTCalib.AuditAlgorithms = True # False
-SCTCalib.AuditBeginRun   = True # False
-SCTCalib.AuditEndRun     = True # False
 
 print(SCTCalib)
 
diff --git a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/referenceOptions.py b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/referenceOptions.py
index df9b2bf9affc..f76e464246b7 100755
--- a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/referenceOptions.py
+++ b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/referenceOptions.py
@@ -462,8 +462,6 @@ SCTCalib.NumNoisyStripsPrevRunInDB = noisyStripsInDB_lastRun
 
 SCTCalib.OutputLevel     = INFO # DEBUG
 SCTCalib.AuditAlgorithms = True # False
-SCTCalib.AuditBeginRun   = True # False
-SCTCalib.AuditEndRun     = True # False
 
 print(SCTCalib)
 
diff --git a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/skeleton.sct_calib.py b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/skeleton.sct_calib.py
index 3a942f3fd4df..48f2c191d435 100644
--- a/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/skeleton.sct_calib.py
+++ b/InnerDetector/InDetCalibAlgs/SCT_CalibAlgs/share/skeleton.sct_calib.py
@@ -595,8 +595,6 @@ SCTCalib.BSErrorModuleFile         = prefix + 'BSErrorModuleSummary.xml'      #
 
 SCTCalib.OutputLevel     = DEBUG # DEBUG / INFO
 SCTCalib.AuditAlgorithms = True  # False
-SCTCalib.AuditBeginRun   = True  # False
-SCTCalib.AuditEndRun     = True  # False
 
 print(SCTCalib)
 
-- 
GitLab