| Summary: | G4VParticleChange::SetNumberOfSecondaries() Warning theListOfSecondaries is not empty | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | farnea |
| Component: | processes/electromagnetic | Assignee: | Michel.Maire |
| Status: | CLOSED WONTFIX | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
farnea
2003-04-10 05:08:29 CEST
This is one for michel. It seems the semantics of process management has changed in this respect, and we have to Clear explicitely... Many greetings, Hans-Peter. Since I continued getting the same warning with geant4.8.0, we decided
to have a closer look at the code. Apparently the problem is fixed changing
lines 73-74 from
if (std::abs(GammaPolarization0.mag() - 1.e0) > 1.e-14)
G4ComptonScattering52::PostStepDoIt(aTrack,aStep);
to
if (std::abs(GammaPolarization0.mag() - 1.e0) > 1.e-14)
return G4ComptonScattering52::PostStepDoIt(aTrack,aStep);
The same obviously will hold for the previous versions!
|