Skip to content

Commit 1dbceab

Browse files
authored
Update o2dpg_sim_workflow.py
1 parent 03a6572 commit 1dbceab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,8 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
522522
# max number of QED events simulated per timeframe.
523523
# A large pool of QED events (0.6*INTRATE) is needed to avoid repetition of events in the same or
524524
# neighbouring ITS readout frames, which would fire already activated pixel, discarding the event.
525-
NEventsQED = 10000 if (INTRATE <= 16668) else int(INTRATE*0.6)
525+
# Discussed in detail in https://its.cern.ch/jira/browse/O2-5861
526+
NEventsQED = max(10000, int(INTRATE*0.6))
526527
# Hadronic cross section values are taken from Glauber MC
527528
XSecSys = {'PbPb': 8., 'OO': 1.273, 'NeNe': 1.736}
528529
# QED cross section values were calculated with TEPEMGEN

0 commit comments

Comments
 (0)