Problem 2583 - decay of triton
Summary: decay of triton
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/decay (show other problems)
Version: other
Hardware: All All
: P4 minor
Assignee: Alberto.Ribon
URL:
Depends on:
Blocks:
 
Reported: 2024-01-11 18:32 CET by michel.maire
Modified: 2024-01-23 13:38 CET (History)
0 users

See Also:


Attachments
a macro for example TestEm1 (446 bytes, text/plain)
2024-01-11 18:32 CET, michel.maire
Details

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