From 5fc76a03bb9092efc92f588f76baa62fa459ea3e Mon Sep 17 00:00:00 2001 From: Maximiliano Puccio Date: Mon, 23 Nov 2020 13:40:35 +0100 Subject: [PATCH] Add new HIJING based p-Pb generators for NUCLEX --- .../PWGLF/Hijing_pPb_HyperTriton.C | 16 +++++++++++++++ .../PWGLF/Hijing_pPb_Nuclex001.C | 20 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 MC/CustomGenerators/PWGLF/Hijing_pPb_HyperTriton.C create mode 100644 MC/CustomGenerators/PWGLF/Hijing_pPb_Nuclex001.C diff --git a/MC/CustomGenerators/PWGLF/Hijing_pPb_HyperTriton.C b/MC/CustomGenerators/PWGLF/Hijing_pPb_HyperTriton.C new file mode 100644 index 00000000..7fcb477a --- /dev/null +++ b/MC/CustomGenerators/PWGLF/Hijing_pPb_HyperTriton.C @@ -0,0 +1,16 @@ +AliGenerator * +GeneratorCustom() +{ + AliGenCocktail *ctl = (AliGenCocktail*) GeneratorCocktail("Hijing_pPb_HyperTriton"); + + if(!simulation.Contains("Embed")){ + AliGenerator *hij = GeneratorHijing(); + ctl->AddGenerator(hij, "Hijing", 1.); + } + + AliGenerator *nu2a = Generator_Nuclex(0x10, kFALSE, 5); + AliGenerator *nu2b = Generator_Nuclex(0x10, kTRUE, 5); + ctl->AddGenerator(nu2a, "HyperTritons", 1.); + ctl->AddGenerator(nu2b, "AntiHyperTritons", 1.); + return ctl; +} diff --git a/MC/CustomGenerators/PWGLF/Hijing_pPb_Nuclex001.C b/MC/CustomGenerators/PWGLF/Hijing_pPb_Nuclex001.C new file mode 100644 index 00000000..0d438603 --- /dev/null +++ b/MC/CustomGenerators/PWGLF/Hijing_pPb_Nuclex001.C @@ -0,0 +1,20 @@ +AliGenerator * +GeneratorCustom() +{ + AliGenCocktail *ctl = (AliGenCocktail*) GeneratorCocktail("Hijing_pPb_Nuclex001"); + + if(!simulation.Contains("Embed")){ + AliGenerator *hij = GeneratorHijing(); + ctl->AddGenerator(hij, "Hijing", 1.); + } + + AliGenerator *nu1a = Generator_Nuclex(0xF, kFALSE, 10); + AliGenerator *nu1b = Generator_Nuclex(0xF, kTRUE, 10); + AliGenerator *nu2a = Generator_Nuclex(0x10, kFALSE, 20); + AliGenerator *nu2b = Generator_Nuclex(0x10, kTRUE, 20); + ctl->AddGenerator(nu1a, "Nuclex1a", 1.); + ctl->AddGenerator(nu1b, "Nuclex1b", 1.); + ctl->AddGenerator(nu2a, "Nuclex2a", 1.); + ctl->AddGenerator(nu2b, "Nuclex2b", 1.); + return ctl; +}