Skip to content

Commit

Permalink
Fix options for collision context creation in (old) embedding path (A…
Browse files Browse the repository at this point in the history
…liceO2Group#1587)

did not take into account first-orbit, which is used in anchoring MC.
  • Loading branch information
sawenzel authored Apr 12, 2024
1 parent 38b94e2 commit 5e94376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5e94376

Please sign in to comment.