From d081a1a3eaae7472e602317e49cf0e38ec1ab11f Mon Sep 17 00:00:00 2001 From: Maximiliano Puccio Date: Thu, 9 Jan 2025 17:56:15 +0100 Subject: [PATCH] Modify Lnn generator to include Li4 --- ...eneratorLFLnnPbPb.ini => GeneratorLFExoticNucleiPbPb.ini} | 4 ++-- .../{GeneratorLFLnnPbPb.C => GeneratorLFExoticNucleiPbPb.C} | 4 ++-- MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun | 5 +++++ MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun | 3 --- 4 files changed, 9 insertions(+), 7 deletions(-) rename MC/config/PWGLF/ini/{GeneratorLFLnnPbPb.ini => GeneratorLFExoticNucleiPbPb.ini} (62%) rename MC/config/PWGLF/ini/tests/{GeneratorLFLnnPbPb.C => GeneratorLFExoticNucleiPbPb.C} (94%) create mode 100644 MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun delete mode 100644 MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun diff --git a/MC/config/PWGLF/ini/GeneratorLFLnnPbPb.ini b/MC/config/PWGLF/ini/GeneratorLFExoticNucleiPbPb.ini similarity index 62% rename from MC/config/PWGLF/ini/GeneratorLFLnnPbPb.ini rename to MC/config/PWGLF/ini/GeneratorLFExoticNucleiPbPb.ini index 56c7f6fbd..eca344f65 100644 --- a/MC/config/PWGLF/ini/GeneratorLFLnnPbPb.ini +++ b/MC/config/PWGLF/ini/GeneratorLFExoticNucleiPbPb.ini @@ -1,6 +1,6 @@ [GeneratorExternal] fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator_pythia8_longlived_gaptriggered.C -funcName=generateLongLivedGapTriggered("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun", 1) +funcName=generateLongLivedGapTriggered("${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun", 1) [GeneratorPythia8] -config=${O2_ROOT}/share/Generators/egconfig/pythia8_hi.cfg \ No newline at end of file +config=${O2_ROOT}/share/Generators/egconfig/pythia8_hi.cfg diff --git a/MC/config/PWGLF/ini/tests/GeneratorLFLnnPbPb.C b/MC/config/PWGLF/ini/tests/GeneratorLFExoticNucleiPbPb.C similarity index 94% rename from MC/config/PWGLF/ini/tests/GeneratorLFLnnPbPb.C rename to MC/config/PWGLF/ini/tests/GeneratorLFExoticNucleiPbPb.C index d96a1d08c..90b542677 100644 --- a/MC/config/PWGLF/ini/tests/GeneratorLFLnnPbPb.C +++ b/MC/config/PWGLF/ini/tests/GeneratorLFExoticNucleiPbPb.C @@ -1,7 +1,7 @@ int External() { std::string path{"o2sim_Kine.root"}; - std::vector possiblePDGs = {1010000030, -1010000030}; + std::vector possiblePDGs = {1010000030, -1010000030, 1000030040, -1000030040}; int nPossiblePDGs = possiblePDGs.size(); @@ -50,4 +50,4 @@ int External() std::cout << possiblePDGs[i] << ": " << std::count(injectedPDGs.begin(), injectedPDGs.end(), possiblePDGs[i]) << "\n"; } return 0; -} \ No newline at end of file +} diff --git a/MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun b/MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun new file mode 100644 index 000000000..4831653c1 --- /dev/null +++ b/MC/config/PWGLF/pythia8/generator/exotic_nuclei_pbpb.gun @@ -0,0 +1,5 @@ +# PDG N ptMin ptMax yMin yMax +1010000030 10 0.2 10 -1 1 +-1010000030 10 0.2 10 -1 1 +1000030040 10 0.2 10 -1 1 +-1000030040 10 0.2 10 -1 1 diff --git a/MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun b/MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun deleted file mode 100644 index 59ddfa554..000000000 --- a/MC/config/PWGLF/pythia8/generator/lnn_pbpb.gun +++ /dev/null @@ -1,3 +0,0 @@ -# PDG N ptMin ptMax yMin yMax -1010000030 10 0.2 10 -1 1 --1010000030 10 0.2 10 -1 1 \ No newline at end of file