Skip to content

Commit 5e94376

Browse files
authored
Fix options for collision context creation in (old) embedding path (#1587)
did not take into account first-orbit, which is used in anchoring MC.
1 parent 38b94e2 commit 5e94376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ def putConfigValuesNew(listOfMainKeys=[], localCF = {}):
861861
# The :r flag means to shuffle the background events randomly
862862
if doembedding:
863863
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'
864-
ContextTask['cmd'] += ' --bcPatternFile ccdb --seed ' + str(TFSEED)
864+
ContextTask['cmd'] += ' --bcPatternFile ccdb --seed ' + str(TFSEED) + ' --orbits ' + str(orbitsPerTF) + ' --noEmptyTF --first-orbit ' + str(args.first_orbit)
865865

866866
workflow['stages'].append(ContextTask)
867867

0 commit comments

Comments
 (0)