Skip to content

Commit

Permalink
Merge pull request #434 from mpuccio/patch-6
Browse files Browse the repository at this point in the history
Create Hijing_Nuclex_anti3H.C
  • Loading branch information
gconesab authored Nov 10, 2020
2 parents 001f399 + dca2652 commit 4a43db9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions MC/CustomGenerators/PWGLF/Hijing_Nuclex_anti3H.C
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 4a43db9

Please sign in to comment.