Skip to content
Merged
Changes from 1 commit
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: 4 additions & 2 deletions MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,10 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):

# preproduce the collision context / timeframe structure for all timeframes at once
precollneeds=[GRP_TASK['name']]
NEventsQED=10000 # max number of QED events to simulate per timeframe
# max number of QED events simulated per timeframe.
# A large pool of QED events (0.6*INTRATE) is needed to avoid repetition of events in the same or
# neighbouring ITS readout frames, which would fire already activated pixel, discarding the event.
NEventsQED = 10000 if (INTRATE <= 16668) else int(INTRATE*0.6)
Comment thread
jackal1-66 marked this conversation as resolved.
Outdated
# Hadronic cross section values are taken from Glauber MC
XSecSys = {'PbPb': 8., 'OO': 1.273, 'NeNe': 1.736}
# QED cross section values were calculated with TEPEMGEN
Expand Down Expand Up @@ -723,7 +726,6 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):

QEDdigiargs = ""
if includeQED:
NEventsQED=10000 # 35K for a full timeframe?
qedneeds=[GRP_TASK['name'], PreCollContextTask['name']]
QED_task=createTask(name='qedsim_'+str(tf), needs=qedneeds, tf=tf, cwd=timeframeworkdir, cpu='1')
########################################################################################################
Expand Down