Skip to content

Commit 11ace09

Browse files
Update script to use new coalescence generator
1 parent 8ef731e commit 11ace09

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
3+
#
4+
# A example workflow MC->RECO->AOD for a simple pp min bias
5+
# production, with the LF coalescence generator (GeneratorLF_Coalescence_pp1360TeV.ini)
6+
7+
# make sure O2DPG + O2 is loaded
8+
[ ! "${O2DPG_ROOT}" ] && echo "Error: This needs O2DPG loaded" && exit 1
9+
[ ! "${O2_ROOT}" ] && echo "Error: This needs O2 loaded" && exit 1
10+
11+
12+
# ----------- START ACTUAL JOB -----------------------------
13+
14+
NWORKERS=${NWORKERS:-8}
15+
MODULES="--skipModules ZDC"
16+
SIMENGINE=${SIMENGINE:-TGeant4}
17+
NSIGEVENTS=${NSIGEVENTS:-1}
18+
NTIMEFRAMES=${NTIMEFRAMES:-1}
19+
INTRATE=${INTRATE:-500000}
20+
SYSTEM=${SYSTEM:-pp}
21+
ENERGY=${ENERGY:-13600}
22+
[[ ${SPLITID} != "" ]] && SEED="-seed ${SPLITID}" || SEED=""
23+
24+
# create workflow
25+
${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
27+
28+
# run workflow
29+
${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt aod --cpu-limit 32

0 commit comments

Comments
 (0)