Skip to content

Commit 8beccfe

Browse files
authored
Do not change the PDG code of beam remnants
1 parent d35f2ca commit 8beccfe

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Generators/src/GeneratorPythia8.cxx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -654,14 +654,6 @@ Bool_t
654654
// first particle is system
655655
auto particle = event[iparticle];
656656
auto pdg = particle.id();
657-
// Select nuclei (A PDG id code for nuclei is on the form 100ZZZAAAI)
658-
if (std::abs(pdg) > 1000000000) {
659-
// Ignore isospin if equal to 9
660-
auto pdgNoI = (pdg / 10) * 10;
661-
if (std::abs(pdg - pdgNoI) == 9) {
662-
pdg = pdgNoI;
663-
}
664-
}
665657
auto st = o2::mcgenstatus::MCGenStatusEncoding(particle.statusHepMC(), //
666658
particle.status()) //
667659
.fullEncoding;

0 commit comments

Comments
 (0)