From 3f79af1835b45b5d822eeab6a0602114f62084e9 Mon Sep 17 00:00:00 2001 From: Hirak Koley Date: Sun, 15 Mar 2026 15:35:48 +0530 Subject: [PATCH 1/3] Update funcName parameter in generator configuration --- .../ini/GeneratorLF_ResonancesBaryonic_pp1360_injection.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/config/PWGLF/ini/GeneratorLF_ResonancesBaryonic_pp1360_injection.ini b/MC/config/PWGLF/ini/GeneratorLF_ResonancesBaryonic_pp1360_injection.ini index 5fb6619ea..7d9613efa 100644 --- a/MC/config/PWGLF/ini/GeneratorLF_ResonancesBaryonic_pp1360_injection.ini +++ b/MC/config/PWGLF/ini/GeneratorLF_ResonancesBaryonic_pp1360_injection.ini @@ -1,8 +1,8 @@ [GeneratorExternal] fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_LF_rapidity.C -funcName=generateLFRapidity("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/resonancelistgun_baryonic_inj.json", true, 1, false, false, "${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg", "") +funcName=generateLFRapidity("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/resonancelistgun_baryonic_inj.json", true, 4, false, false, "${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg", "") -[GeneratorPythia8] # if triggered then this will be used as the background event +[GeneratorPythia8] # this will be used as the background event config=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg [DecayerPythia8] # after for transport code! From 4fb8beee6d9295fca59013b0f3a10ef7623e5cad Mon Sep 17 00:00:00 2001 From: Hirak Koley Date: Sun, 15 Mar 2026 15:37:19 +0530 Subject: [PATCH 2/3] Update baryonic resonance parameters and remove entries --- .../resonancelistgun_baryonic_inj.json | 52 ++----------------- 1 file changed, 4 insertions(+), 48 deletions(-) diff --git a/MC/config/PWGLF/pythia8/generator/resonancelistgun_baryonic_inj.json b/MC/config/PWGLF/pythia8/generator/resonancelistgun_baryonic_inj.json index 60864a9cd..11a339251 100644 --- a/MC/config/PWGLF/pythia8/generator/resonancelistgun_baryonic_inj.json +++ b/MC/config/PWGLF/pythia8/generator/resonancelistgun_baryonic_inj.json @@ -1,7 +1,7 @@ { "Lambda(1520)0" : { "pdg": 102134, - "n": 5, + "n": 3, "ptMin": 0.0, "ptMax": 15, "etaMin": -1.0, @@ -12,7 +12,7 @@ }, "anti-Lambda(1520)0" : { "pdg": -102134, - "n": 5, + "n": 3, "ptMin": 0.0, "ptMax": 15, "etaMin": -1.0, @@ -23,7 +23,7 @@ }, "Xi(1530)0" : { "pdg": 3324, - "n": 5, + "n": 3, "ptMin": 0.0, "ptMax": 15, "etaMin": -1.0, @@ -34,51 +34,7 @@ }, "anti-Xi(1530)0" : { "pdg": -3324, - "n": 5, - "ptMin": 0.0, - "ptMax": 15, - "etaMin": -1.0, - "etaMax": 1.0, - "rapidityMin": -1.0, - "rapidityMax": 1.0, - "genDecayed": true - }, - "Xi(1820)0" : { - "pdg": 123324, - "n": 5, - "ptMin": 0.0, - "ptMax": 15, - "etaMin": -1.0, - "etaMax": 1.0, - "rapidityMin": -1.0, - "rapidityMax": 1.0, - "genDecayed": true - }, - "Anti-Xi(1820)0" : { - "pdg": -123324, - "n": 5, - "ptMin": 0.0, - "ptMax": 15, - "etaMin": -1.0, - "etaMax": 1.0, - "rapidityMin": -1.0, - "rapidityMax": 1.0, - "genDecayed": true - }, - "Xi(1820)-" : { - "pdg": 123314, - "n": 5, - "ptMin": 0.0, - "ptMax": 15, - "etaMin": -1.0, - "etaMax": 1.0, - "rapidityMin": -1.0, - "rapidityMax": 1.0, - "genDecayed": true - }, - "Xi(1820)+" : { - "pdg": -123314, - "n": 5, + "n": 3, "ptMin": 0.0, "ptMax": 15, "etaMin": -1.0, From fe8d7676fefe25ae8fafd4672337a736915cb48a Mon Sep 17 00:00:00 2001 From: Hirak Koley Date: Sun, 15 Mar 2026 15:38:48 +0530 Subject: [PATCH 3/3] Refactor injectedPDGs and decayDaughters vectors --- ...GeneratorLF_ResonancesBaryonic_pp1360_injection.C | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/MC/config/PWGLF/ini/tests/GeneratorLF_ResonancesBaryonic_pp1360_injection.C b/MC/config/PWGLF/ini/tests/GeneratorLF_ResonancesBaryonic_pp1360_injection.C index 7ee3c81c2..27069c08f 100644 --- a/MC/config/PWGLF/ini/tests/GeneratorLF_ResonancesBaryonic_pp1360_injection.C +++ b/MC/config/PWGLF/ini/tests/GeneratorLF_ResonancesBaryonic_pp1360_injection.C @@ -9,21 +9,13 @@ int External() 102134, // Lambda(1520)0 -102134, // Lambda(1520)0bar 3324, // Xi(1530)0 - -3324, // Xi(1530)0bar - 123314, // Xi(1820)- - -123314, // Xi(1820)+ - 123324, // Xi(1820)0 - -123324 // Xi(1820)0bar + -3324 // Xi(1530)0bar }; std::vector> decayDaughters = { {2212, -321}, // Lambda(1520)0 {-2212, 321}, // Lambda(1520)0bar {3312, 211}, // Xi(1530)0 - {-3312, -211}, // Xi(1530)0bar - {3122, -321}, // Xi(1820)- - {-3122, 321}, // Xi(1820)+ - {3122, 310}, // Xi(1820)0 - {-3122, -310} // Xi(1820)0bar + {-3312, -211} // Xi(1530)0bar }; auto nInjection = injectedPDGs.size();