| Summary: | PiMinusAbsorptionBertini duplicates projectile pi- on secondary list if not captured | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Michael Kelsey <kelsey> |
| Component: | processes/hadronic/stopping | Assignee: | dennis.herbert.wright |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | P5 | ||
| Version: | 9.5 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Michael Kelsey
2012-06-12 07:27:28 CEST
In G4PiMinusAbsorptionBertini.cc, line 147 should be replaced with
if (result->GetStatusChange() == isAlive) {
result->Clear();
return &aParticleChange;
}
I have fixed this in a branch tag hadr-stopping-V09-04-08, for use with a future 9.5-patch-02 release.
In the 9.5 development tree (trunk), this code no longer exists, having been replaced by a subclass of G4HadronicStoppingProcess, which already handles a no-interaction result properly.
|