| Summary: | Code that is never called in G4ErrorPhysicsList.cc | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | NoneOf YourBusiness <vss> |
| Component: | error_propagation | Assignee: | Pedro.Arce |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P5 | ||
| Version: | other | ||
| Hardware: | All | ||
| OS: | All | ||
I recognise I wrote that code more than 10 years ago and I cannnot remember what I meant there, but nobody has since needed it, so I supressed it. |
Hello, I am not sure how important the problem is but I can see that some code in G4ErrorPhysicsList.cc (around line 195) is never called, i.e. the following condition is never true in a program (since if it is true, then the previous "else if" would be called): } else if ((!particle->IsShortLived()) && (particle->GetPDGCharge() != 0.0) && (particle->GetParticleName() != "chargedgeantino")) { Could you, please, check if the code is supposed to do something important? Thank you!