From 330d7abd8f358da5d40ef97c628a27b03a9ed0f7 Mon Sep 17 00:00:00 2001 From: Cristian-Moscatelli Date: Thu, 29 Oct 2026 12:53:16 +0100 Subject: [PATCH 1/4] "Update Pythia8 config for 136 TeV" --- .../config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini diff --git a/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini b/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini new file mode 100644 index 000000000..24771eb31 --- /dev/null +++ b/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_coalescence.C +funcName = generateCoalescence({1000010020, 1000010030, 1000020030}, 1, 0.239) + +[GeneratorPythia8] +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg From de352a2a9737a1464c1af0440c64ca8ac3d22991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Thu, 29 Oct 2026 15:51:07 +0100 Subject: [PATCH 2/4] Update GeneratorLF_Coalescence_pp1360TeV.ini --- .../MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini b/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini index 24771eb31..84eac76ac 100644 --- a/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini +++ b/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini @@ -1,3 +1,4 @@ +#---> GeneratorLF_Coalescence_pp536TeV [GeneratorExternal] fileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_coalescence.C funcName = generateCoalescence({1000010020, 1000010030, 1000020030}, 1, 0.239) From f39109748fd38777e6291cb48d33071fecd9a78a Mon Sep 17 00:00:00 2001 From: Cristian Moscatelli Date: Fri, 20 Nov 2026 11:25:24 +0100 Subject: [PATCH 3/4] Add Gap 5 --- .../PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV_gap5.ini | 9 +++++++++ MC/run/PWGLF/run_coalescence_deuteron_pp_1360TeV.sh | 7 +++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV_gap5.ini 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 From 92a08684aba4874e96e44799edd2045add5fbee5 Mon Sep 17 00:00:00 2001 From: Cristian Moscatelli Date: Fri, 20 Nov 2026 11:37:48 +0100 Subject: [PATCH 4/4] removed MC folder --- .../config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini diff --git a/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini b/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini deleted file mode 100644 index 84eac76ac..000000000 --- a/MC/config/PWGLF/ini/MC/config/PWGLF/ini/GeneratorLF_Coalescence_pp1360TeV.ini +++ /dev/null @@ -1,7 +0,0 @@ -#---> GeneratorLF_Coalescence_pp536TeV -[GeneratorExternal] -fileName = ${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_coalescence.C -funcName = generateCoalescence({1000010020, 1000010030, 1000020030}, 1, 0.239) - -[GeneratorPythia8] -config=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg