diff --git a/MC/CustomGenerators/PWGLF/Hijing_Nuclex_anti3H.C b/MC/CustomGenerators/PWGLF/Hijing_Nuclex_anti3H.C new file mode 100644 index 00000000..324ebe2b --- /dev/null +++ b/MC/CustomGenerators/PWGLF/Hijing_Nuclex_anti3H.C @@ -0,0 +1,14 @@ +// Requires AliRoot from v5-09-02 +AliGenerator * +GeneratorCustom() +{ + AliGenCocktail *ctl = (AliGenCocktail*) GeneratorCocktail("Hijing_Nuclex_anti3H"); + TString simulation = gSystem->Getenv("CONFIG_SIMULATION"); + if(!simulation.Contains("Embed")){ + AliGenerator *hij = GeneratorHijing(); + ctl->AddGenerator(hij, "Hijing", 1.); + } + AliGenerator *nu1a = Generator_Nuclex(0x4, kTRUE, 160, 4., 0.8); + ctl->AddGenerator(nu1a, "Anti-3H", 1.); + return ctl; +}