We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1613545 commit 5225eecCopy full SHA for 5225eec
Generators/src/GeneratorPythia8.cxx
@@ -657,8 +657,9 @@ Bool_t
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) pdg=pdgNoI;
+ auto pdgNoI = (pdg / 10) *1 0;
+ if (std::abs(pdg - pdgNoI) == 9)
662
+ pdg=pdgNoI;
663
}
664
auto st = o2::mcgenstatus::MCGenStatusEncoding(particle.statusHepMC(), //
665
particle.status()) //
0 commit comments