Skip to content

Commit

Permalink
Merge pull request #446 from mpuccio/master
Browse files Browse the repository at this point in the history
Add new HIJING based p-Pb generators for NUCLEX
  • Loading branch information
gconesab authored Nov 23, 2020
2 parents 5db5461 + 5fc76a0 commit 3d2d091
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
16 changes: 16 additions & 0 deletions MC/CustomGenerators/PWGLF/Hijing_pPb_HyperTriton.C
Original file line number Diff line number Diff line change
@@ -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;
}
20 changes: 20 additions & 0 deletions MC/CustomGenerators/PWGLF/Hijing_pPb_Nuclex001.C
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 3d2d091

Please sign in to comment.