From b4f9b62a6930d75ae1398c57bfad3fe3c7d186d9 Mon Sep 17 00:00:00 2001 From: Roberto Preghenella Date: Thu, 6 Apr 2017 15:40:19 +0200 Subject: [PATCH] Merge pull request #10 from mpuccio/master EPOS generator with injected (anti-)(hyper-)nuclei --- MC/CustomGenerators/PWGLF/Epos_Nuclex001.C | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 MC/CustomGenerators/PWGLF/Epos_Nuclex001.C diff --git a/MC/CustomGenerators/PWGLF/Epos_Nuclex001.C b/MC/CustomGenerators/PWGLF/Epos_Nuclex001.C new file mode 100644 index 00000000..bada32cb --- /dev/null +++ b/MC/CustomGenerators/PWGLF/Epos_Nuclex001.C @@ -0,0 +1,16 @@ +AliGenerator * +GeneratorCustom() +{ + AliGenCocktail *ctl = GeneratorCocktail("Epos_Nuclex001"); + AliGenerator *epos = GeneratorEPOSLHC(); + ctl->AddGenerator(epos, "EPOSLHC", 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; +}