From 1627b989e8c8e527094ffe79f649003c141164dc Mon Sep 17 00:00:00 2001 From: Bong-Hwi Lim Date: Wed, 12 Apr 2023 15:10:09 +0200 Subject: [PATCH 1/2] update the PDG code --- MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C b/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C index 5112ae81..33decd67 100644 --- a/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C +++ b/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C @@ -15,12 +15,12 @@ AliGenerator* GeneratorCustom() // randomly injected particles const int nParticles = 5; - particle_inj particleList[5] = { // {name,pdgcode,maxpt,maxy}, + particle_inj particleList[nParticles] = { // {name,pdgcode,maxpt,maxy}, {1,"f0(1710)",10331,20.,0.9}, {1,"f2(1525)",335,20.,0.9}, {1,"f1(1285)",20223,20.,0.9}, {1,"f1(1420)",20333,20.,0.9}, - {1,"f0(1500)",90302,20.,0.9} + {1,"f0(1500)",9030221,20.,0.9} }; AliDecayerPythia *dec = new AliDecayerPythia; From 721444a28e3fc0b97dee21386b565327940762a2 Mon Sep 17 00:00:00 2001 From: Bong-Hwi Lim Date: Wed, 12 Apr 2023 23:19:44 +0200 Subject: [PATCH 2/2] update name --- MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C b/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C index 33decd67..6aac0bc0 100644 --- a/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C +++ b/MC/CustomGenerators/PWGLF/Pythia8_Monash2013_Rsn_f0f1.C @@ -8,7 +8,7 @@ struct particle_inj { AliGenerator* GeneratorCustom() { - AliGenCocktail *ctl = (AliGenCocktail*) GeneratorCocktail("Monash2013_Rsn_f2f0"); + AliGenCocktail *ctl = (AliGenCocktail*) GeneratorCocktail("Monash2013_Rsn_f0f1"); // pythia8 AliGenerator *py8 = GeneratorPythia8(kPythia8Tune_Monash2013); ctl->AddGenerator(py8, "Pythia8 (Monash2013)", 1.); @@ -25,6 +25,7 @@ AliGenerator* GeneratorCustom() AliDecayerPythia *dec = new AliDecayerPythia; AliPDG::AddParticlesToPdgDataBase(); + // AliPythia6::Instance()->Pylist(12); // print out the particle list ctl->UseSingleInjectionPerEvent(); for (int idx = 0; idx < nParticles; ++idx) {