diff --git a/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV_gap5.ini b/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV_gap5.ini new file mode 100644 index 000000000..fd7fda180 --- /dev/null +++ b/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV_gap5.ini @@ -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 diff --git a/MC/run/PWGLF/run_coalescence_deuteron_pp_1360TeV.sh b/MC/run/PWGLF/run_coalescence_deuteron_pp_1360TeV.sh index a12185824..4ab9d2ad1 100644 --- a/MC/run/PWGLF/run_coalescence_deuteron_pp_1360TeV.sh +++ b/MC/run/PWGLF/run_coalescence_deuteron_pp_1360TeV.sh @@ -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 @@ -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