Problem 2583

Summary: decay of triton
Product: Geant4 Reporter: michel.maire
Component: processes/decayAssignee: Alberto.Ribon
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: other   
Hardware: All   
OS: All   
Attachments: a macro for example TestEm1

Description michel.maire 2024-01-11 18:32:28 CET
Created attachment 842 [details]
a macro for example TestEm1

Triton invokes Decay process, but there is no decay products.
However, in data set RadioactiveDecay5.6, the file z1.a3 exists.
Here, a macro  which illustrate the problem.
Comment 1 Alberto.Ribon 2024-01-23 13:38:17 CET
Triton is not decayed in this example because RadioactiveDecay is not assigned to G4Triton in the method PhysicsList::AddRadioactiveDecay.
This is because G4Triton is not part of G4GenericIon::GenericIon().

It is enough to add the following line in that method:

   ph->RegisterProcess(radioactiveDecay, G4Triton::Triton())

(besides the header file G4Triton.hh) to have the triton correctly decaying.

Given that this is an EM example, I am not sure that adding this line should be committed to the repository...