From 93975d2ac1371bc3b31fe0b0ea6559cfe8912720 Mon Sep 17 00:00:00 2001
From: Tadej Novak <tadej.novak@cern.ch>
Date: Tue, 9 Jan 2024 08:18:29 +0100
Subject: [PATCH] Fix RDOtoRDO_TRIG skeleton flag order

---
 .../RecJobTransforms/python/RDOtoRDO_TRIG_Skeleton.py      | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Reconstruction/RecJobTransforms/python/RDOtoRDO_TRIG_Skeleton.py b/Reconstruction/RecJobTransforms/python/RDOtoRDO_TRIG_Skeleton.py
index b169f31980df..48a5dc9b4f97 100644
--- a/Reconstruction/RecJobTransforms/python/RDOtoRDO_TRIG_Skeleton.py
+++ b/Reconstruction/RecJobTransforms/python/RDOtoRDO_TRIG_Skeleton.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
 
 from PyJobTransforms.TransformUtils import processPreExec, processPreInclude, processPostExec, processPostInclude
 from TriggerJobOpts import runHLT
@@ -18,8 +18,6 @@ def configureFlags(runArgs):
     flags = initConfigFlags()
     from PyJobTransforms.CommonRunArgsToFlags import commonRunArgsToFlags
     commonRunArgsToFlags(runArgs, flags)
-    from RecJobTransforms.RecoConfigFlags import recoRunArgsToFlags
-    recoRunArgsToFlags(runArgs, flags)
 
     # Set standard flags for HLT jobs
     runHLT.set_flags(flags)
@@ -33,6 +31,9 @@ def configureFlags(runArgs):
         flags.Output.RDOFileName = runArgs.outputRDO_TRIGFile
         log.info("---------- Configured RDO_TRIG output")
 
+    from RecJobTransforms.RecoConfigFlags import recoRunArgsToFlags
+    recoRunArgsToFlags(runArgs, flags)
+
     from AthenaConfiguration.Enums import ProductionStep
     flags.Common.ProductionStep=ProductionStep.Reconstruction
 
-- 
GitLab