Skip to content

Commit

Permalink
Pythia8 + inj strangeness for pp 13 TeV 2017,2018
Browse files Browse the repository at this point in the history
  • Loading branch information
ercolessi committed Sep 29, 2020
1 parent 43ea72b commit 4a17d7c
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 4a17d7c

Please sign in to comment.