Skip to content

Commit

Permalink
Reduce number of injected xicc in pp gen
Browse files Browse the repository at this point in the history
  • Loading branch information
jesgum committed Jul 30, 2024
1 parent 239cd66 commit 0f70daa
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions MC/config/ALICE3/pythia8/generator_pythia8_gun_pp.C
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}

//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Expand Down

0 comments on commit 0f70daa

Please sign in to comment.