Skip to content

Commit 3d8c6e6

Browse files
committed
Adaptable QED events based on INTRATE
1 parent 63c1986 commit 3d8c6e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
519519

520520
# preproduce the collision context / timeframe structure for all timeframes at once
521521
precollneeds=[GRP_TASK['name']]
522-
NEventsQED=10000 # max number of QED events to simulate per timeframe
522+
NEventsQED=int(INTRATE*0.3) # max number of QED events to simulate per timeframe
523523
# Hadronic cross section values are taken from Glauber MC
524524
XSecSys = {'PbPb': 8., 'OO': 1.273, 'NeNe': 1.736}
525525
# QED cross section values were calculated with TEPEMGEN
@@ -723,7 +723,6 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
723723

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

0 commit comments

Comments
 (0)