Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#---> GeneratorLF_Coalescence_pp536TeV
# generator with gap trigger:
# one coalescence-triggered event every 5 events, the others are MB
[GeneratorExternal]
fileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_coalescence.C
funcName = generateCoalescence({1000010020, 1000010030, 1000020030}, 5, 0.239)

[GeneratorPythia8]
config=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg
7 changes: 5 additions & 2 deletions MC/run/PWGLF/run_coalescence_deuteron_pp_1360TeV.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

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

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

# create workflow
${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} \
-ini $O2DPG_ROOT/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini
-ini ${INIFILE}

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