From ffbd261c1a42fa2980841d575a231d53a2a36861 Mon Sep 17 00:00:00 2001
From: Mark Stockton <mark@cern.ch>
Date: Wed, 3 Feb 2021 15:34:43 +0100
Subject: [PATCH 1/2] Py3 fix for TrigTransform

---
 HLT/Trigger/TrigTransforms/TrigTransform/python/trigRecoExe.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/HLT/Trigger/TrigTransforms/TrigTransform/python/trigRecoExe.py b/HLT/Trigger/TrigTransforms/TrigTransform/python/trigRecoExe.py
index 8dd2e0433627..b6bc8329e6e4 100644
--- a/HLT/Trigger/TrigTransforms/TrigTransform/python/trigRecoExe.py
+++ b/HLT/Trigger/TrigTransforms/TrigTransform/python/trigRecoExe.py
@@ -251,7 +251,7 @@ class trigRecoExecutor(athenaExecutor):
             msg.error('Failed to open transform logfile {0}: {1:s}'.format(log, e))
         for line, lineCounter in myGen:
             # Check to see if any of the hlt children had an issue
-            if 'Child Issue' in line > -1:
+            if 'Child Issue' in line:
                 try:
                     signal = int((re.search('signal ([0-9]*)', line)).group(1))
                 except AttributeError:
-- 
GitLab


From 11412a4042e93b7ef22788e31a812292cecf56a3 Mon Sep 17 00:00:00 2001
From: Mark Stockton <mark.stockton@cern.ch>
Date: Wed, 3 Feb 2021 14:47:13 +0000
Subject: [PATCH 2/2] Add test details to README.md

---
 HLT/Trigger/TrigTransforms/TrigTransform/README.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/HLT/Trigger/TrigTransforms/TrigTransform/README.md b/HLT/Trigger/TrigTransforms/TrigTransform/README.md
index 8912350b6f1d..0a2cc455b1e3 100644
--- a/HLT/Trigger/TrigTransforms/TrigTransform/README.md
+++ b/HLT/Trigger/TrigTransforms/TrigTransform/README.md
@@ -22,3 +22,11 @@ When running the debug stream recovery there is an additional output file produc
 rerunning the trigger. Also the input file is used to make sure exactly the same release is used to reprocess the data, unless any local patches are
 included in the setup.
 
+### Examples
+
+The transform is tested in the nightly tests and these give examples of which options are to be used:
+- [test_trigP1_v1PhysP1_T0MonTrf_build.py](https://gitlab.cern.ch/atlas/athena/-/blob/master/Trigger/TrigValidation/TrigP1Test/test/test_trigP1_v1PhysP1_T0MonTrf_build.py) Running steps from BS as in Trigger Reprocessings
+- [test_trigP1_v1PhysP1_trfDbgStream_build.py](https://gitlab.cern.ch/atlas/athena/-/blob/master/Trigger/TrigValidation/TrigP1Test/test/test_trigP1_v1PhysP1_trfDbgStream_build.py) Running the transform in the debug recovery mode
+
+
+
-- 
GitLab