Problem 2372 - Scintillation process is applied only on charged particles.
Summary: Scintillation process is applied only on charged particles.
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/electromagnetic/xrays (show other problems)
Version: 10.7
Hardware: All All
: P4 normal
Assignee: Vladimir.Ivantchenko
URL:
Depends on:
Blocks:
 
Reported: 2021-05-25 11:35 CEST by Vladimir.Ivantchenko
Modified: 2021-06-13 20:51 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.