Problem 1355

Summary: Code that is never called in G4ErrorPhysicsList.cc
Product: Geant4 Reporter: NoneOf YourBusiness <vss>
Component: error_propagationAssignee: Pedro.Arce
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: other   
Hardware: All   
OS: All   

Description NoneOf YourBusiness 2012-09-17 21:45:52 CEST
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!
Comment 1 Pedro.Arce 2012-09-18 16:14:49 CEST
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.