Problem 2372

Summary: Scintillation process is applied only on charged particles.
Product: Geant4 Reporter: Vladimir.Ivantchenko
Component: processes/electromagnetic/xraysAssignee: Vladimir.Ivantchenko
Status: RESOLVED FIXED    
Severity: normal CC: daren.sawkey
Priority: P4    
Version: 10.7   
Hardware: All   
OS: All   

Description Vladimir.Ivantchenko 2021-05-25 11:35:23 CEST
G4Scintillation::IsApplicable(...) method forbid application of the process to neutral particles, this not allows to take into account local energy deposition from neutrons and gamma. These energy depositions are small but non-zero, so should be taken into account. 

The fix is in simplification of IsApplicable(..):

return !particleType.isShortLived();

Vladimir
Comment 1 Daren Sawkey 2021-05-27 23:17:18 CEST
Thanks Vladimir. This is now fixed. Could you please either mark this as fixed, or assign to me so I can do it.
Comment 2 Daren Sawkey 2021-05-27 23:18:47 CEST
IsApplicable now returns false for optical photons and shortlived; true otherwise.