From 5e94376c9b1d193071b9a360568d3ec30d0f0baa Mon Sep 17 00:00:00 2001 From: Sandro Wenzel Date: Fri, 12 Apr 2024 10:37:51 +0200 Subject: [PATCH] Fix options for collision context creation in (old) embedding path (#1587) did not take into account first-orbit, which is used in anchoring MC. --- MC/bin/o2dpg_sim_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MC/bin/o2dpg_sim_workflow.py b/MC/bin/o2dpg_sim_workflow.py index f4a0d03ef..39ba5d5af 100755 --- a/MC/bin/o2dpg_sim_workflow.py +++ b/MC/bin/o2dpg_sim_workflow.py @@ -861,7 +861,7 @@ def putConfigValuesNew(listOfMainKeys=[], localCF = {}): # The :r flag means to shuffle the background events randomly if doembedding: ContextTask['cmd'] += ';ln -nfs ../bkg_Kine.root .;${O2_ROOT}/bin/o2-steer-colcontexttool -i bkg,' + str(INTRATE) + ',' + str(args.ns) + ':' + str(args.nb) + ' ' + signalprefix + ',' + args.embeddPattern + ' --show-context ' + ' --timeframeID ' + str(tf-1 + int(args.production_offset)*NTIMEFRAMES) + ' --orbitsPerTF ' + str(orbitsPerTF) + ' --use-existing-kine' - ContextTask['cmd'] += ' --bcPatternFile ccdb --seed ' + str(TFSEED) + ContextTask['cmd'] += ' --bcPatternFile ccdb --seed ' + str(TFSEED) + ' --orbits ' + str(orbitsPerTF) + ' --noEmptyTF --first-orbit ' + str(args.first_orbit) workflow['stages'].append(ContextTask)