We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8910717 commit 8f3d9eeCopy full SHA for 8f3d9ee
1 file changed
Generators/src/GeneratorPythia8.cxx
@@ -654,12 +654,14 @@ Bool_t
654
// first particle is system
655
auto particle = event[iparticle];
656
auto pdg = particle.id();
657
+#if PYTHIA_VERSION_INTEGER >= 8313
658
// Select nuclei (A PDG id code for nuclei is on the form 100ZZZAAAI)
659
if (std::abs(pdg) > 1000000000) {
660
// Ignore isospin
661
pdg /= 10;
662
pdg *= 10;
663
}
664
+#endif
665
auto st = o2::mcgenstatus::MCGenStatusEncoding(particle.statusHepMC(), //
666
particle.status()) //
667
.fullEncoding;
0 commit comments