Making RHadrons G4Exension more robust (ATLASSIM-7274)
In ATLMCPROD-11193 @mnovak identified an issue with how CustomParticles used by the RHadronsPhysicsTool are created leading to an inconsistency in the processes associated with them in Worker threads. This MR should address these issues.
While testing this fix another issue with correctly identifying pre-defined quasi-stable particle decays when using an instance of G4Decay
with an external decay module such as RHadronPythiaDecayer attached. (In such cases the decay process sub-type is always listed as 231 rather than default of 201.) This issue is also fixed in this MR.
Edited by John Derek Chapman