Skip to content

Commit f391097

Browse files
author
Cristian Moscatelli
committed
Add Gap 5
1 parent de352a2 commit f391097

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#---> GeneratorLF_Coalescence_pp536TeV
2+
# generator with gap trigger:
3+
# one coalescence-triggered event every 5 events, the others are MB
4+
[GeneratorExternal]
5+
fileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_coalescence.C
6+
funcName = generateCoalescence({1000010020, 1000010030, 1000020030}, 5, 0.239)
7+
8+
[GeneratorPythia8]
9+
config=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg

‎MC/run/PWGLF/run_coalescence_deuteron_pp_1360TeV.sh‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
#
44
# A example workflow MC->RECO->AOD for a simple pp min bias
5-
# production, with the LF coalescence generator (GeneratorLF_Coalescence_pp1360TeV.ini)
5+
# production, with the LF coalescence generator.
6+
# Use GeneratorLF_Coalescence_pp1360TeV.ini for Gap 0
7+
# while GeneratorLF_Coalescence_pp1360TeV_gap5.ini for Gap 5
68

79
# make sure O2DPG + O2 is loaded
810
[ ! "${O2DPG_ROOT}" ] && echo "Error: This needs O2DPG loaded" && exit 1
@@ -19,11 +21,12 @@ NTIMEFRAMES=${NTIMEFRAMES:-1}
1921
INTRATE=${INTRATE:-500000}
2022
SYSTEM=${SYSTEM:-pp}
2123
ENERGY=${ENERGY:-13600}
24+
INIFILE=${INIFILE:-$O2DPG_ROOT/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV_gap5.ini}
2225
[[ ${SPLITID} != "" ]] && SEED="-seed ${SPLITID}" || SEED=""
2326

2427
# create workflow
2528
${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM ${ENERGY} -col ${SYSTEM} -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -interactionRate ${INTRATE} -confKey "Diamond.width[0]=0.005;Diamond.width[1]=0.005;Diamond.width[2]=6." -e ${SIMENGINE} ${SEED} \
26-
-ini $O2DPG_ROOT/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini
29+
-ini ${INIFILE}
2730

2831
# run workflow
2932
${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt aod --cpu-limit 32

0 commit comments

Comments
 (0)