Skip to content

Commit

Permalink
Merge pull request #426 from ercolessi/master
Browse files Browse the repository at this point in the history
Pythia8 + inj strangeness for pp 13 TeV 2017,2018
  • Loading branch information
gconesab authored Sep 29, 2020
2 parents 43ea72b + 4a17d7c commit ee8be7a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions MC/CustomGenerators/PWGLF/Pythia8_StrInj_pp13_2017_2018.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
AliGenerator *GeneratorCustom(){

Int_t sign = uidConfig % 2 == 0 ? 1 : -1;

AliGenCocktail *ctl = (AliGenCocktail*) GeneratorCocktail("Pythia8_StrInj_pp13_2017_2018");

AliGenerator *py8 = GeneratorPythia8(kPythia8Tune_Monash2013);
AliGenerator *ixi = GeneratorInjector(1, sign * 3312, 0.4, 8.0, -0.7, 0.7);
AliGenerator *iom = GeneratorInjector(1, sign * 3334, 0.5, 6.5, -0.7, 0.7);

ctl->AddGenerator(py8 , "Pythia8 (Monash2013)", 1.);
ctl->AddGenerator(ixi , "Injector (Xi)", 1.);
ctl->AddGenerator(iom, "Injector (Omega)", 1.);

return ctl;

}

0 comments on commit ee8be7a

Please sign in to comment.