From c1c3685913aebdf330265781ace13a823788ec4e 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 40a3a0192..9964e295a 100755 --- a/MC/bin/o2dpg_sim_workflow.py +++ b/MC/bin/o2dpg_sim_workflow.py @@ -805,7 +805,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)