From 0f70daa17b0b5c428b1dbd8bf45b2aba2db1b65c Mon Sep 17 00:00:00 2001 From: jesgum Date: Tue, 30 Jul 2024 11:33:59 +0200 Subject: [PATCH] Reduce number of injected xicc in pp gen --- .../ALICE3/pythia8/generator_pythia8_gun_pp.C | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/MC/config/ALICE3/pythia8/generator_pythia8_gun_pp.C b/MC/config/ALICE3/pythia8/generator_pythia8_gun_pp.C index c8fd76d91..18b385447 100755 --- a/MC/config/ALICE3/pythia8/generator_pythia8_gun_pp.C +++ b/MC/config/ALICE3/pythia8/generator_pythia8_gun_pp.C @@ -328,15 +328,13 @@ protected: mPythia.event.reset(); if(original_pdg!=211){ - for(Int_t ii=0; ii<15; ii++){ - xProd=0.0; - yProd=0.0; - zProd=0.0; - genSpectraMomentumEta(genMinPt,genMaxPt,genminY,genmaxY); - Pythia8::Particle lAddedParticle = createParticle(); - mPythia.event.append(lAddedParticle); - lAddedParticles++; - } + xProd=0.0; + yProd=0.0; + zProd=0.0; + genSpectraMomentumEta(genMinPt,genMaxPt,genminY,genmaxY); + Pythia8::Particle lAddedParticle = createParticle(); + mPythia.event.append(lAddedParticle); + lAddedParticles++; } //+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+