Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,11 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True, runcommand=True):
includeQED = False
else:
qedrate = INTRATE * QEDXSecExpected[COLTYPE] / XSecSys[COLTYPE] # hadronic interaction rate * cross_section_ratio
qedspec = 'qed' + ',' + str(qedrate) + ',10000000:' + str(NEventsQED)
# the QED events are reused in a round robin, so both numbers are the size of the QED pool.
# Older O2 versions wrap the QED event IDs at the first number instead of the second one and
# would otherwise put event IDs into the MC labels which are not in the QED kinematics.
# See https://its.cern.ch/jira/browse/O2-7132
qedspec = 'qed' + ',' + str(qedrate) + ',' + str(NEventsQED) + ':' + str(NEventsQED)

PreCollContextTask['cmd'] = task_finalizer([
'${O2_ROOT}/bin/o2-steer-colcontexttool',
Expand Down
Loading