Skip to content

Commit 558012c

Browse files
mpucciosawenzel
authored andcommitted
Generalise to other collision systems
1 parent c79c80a commit 558012c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[GeneratorExternal]
2+
fileName=${O2DPG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_longlived.C
3+
funcName=generateLongLived(1010010030, 10)
4+
5+
[GeneratorPythia8]
6+
config=${O2_ROOT}/share/Generators/egconfig/pythia8_inel.cfg
7+
8+
[DecayerPythia8]
9+
config[0]=${O2_ROOT}/share/Generators/pythia8/decays/hypertriton.cfg

MC/run/PWGLF/run_PbPb_HypertritonInjected.sh renamed to MC/run/PWGLF/run_HypertritonInjected.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ NSIGEVENTS=${NSIGEVENTS:-1}
2020
NBKGEVENTS=${NBKGEVENTS:-1}
2121
NTIMEFRAMES=${NTIMEFRAMES:-1}
2222
INTRATE=${INTRATE:-50000}
23+
SYSTEM=${SYSTEM:-PbPb}
24+
ENERGY=${ENERGY:-5520}
2325
[[ ${SPLITID} != "" ]] && SEED="-seed ${SPLITID}" || SEED=""
2426

2527
# create workflow
26-
${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM 5500 -col PbPb -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -interactionRate ${INTRATE} -confKey "Diamond.width[2]=6." -e ${SIMENGINE} ${SEED} -mod "--skipModules ZDC" \
27-
-ini ${O2DPG_ROOT}/MC/config/PWGLF/ini/GeneratorLFHypertritonPbPb.ini
28+
${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[2]=6." -e ${SIMENGINE} ${SEED} -mod "--skipModules ZDC" \
29+
-ini ${O2DPG_ROOT}/MC/config/PWGLF/ini/GeneratorLFHypertriton${SYSTEM}.ini
2830

2931
# run workflow
3032
# allow increased timeframe parallelism with --cpu-limit 32

0 commit comments

Comments
 (0)