Hi
I used to use the following commands to modify the particle decay table to my needs:
/particle/select kaon0S
/particle/property/decay/select 0
/particle/property/decay/br 0
/particle/property/decay/select 1
/particle/property/decay/br 1
/particle/property/decay/dump
/particle/select pi0
/particle/property/decay/select 0
/particle/property/decay/br 1
/particle/property/decay/select 1
/particle/property/decay/br 0
/particle/property/decay/dump
/particle/select lambda
/particle/property/decay/select 0
/particle/property/decay/br 0
/particle/property/decay/select 1
/particle/property/decay/br 1
/particle/property/decay/dump
This was working with Geant 9.6 (if I remember correctly) but fails now on 10.5.
It basically boils down to the problem that after selecting one particle and dumping its decay table the same does not work anymore for a second particle:
Idle> /particle/select lambda
/particle/select lambda
Idle> /particle/property/decay/dump
/particle/property/decay/dump
G4DecayTable: lambda
0: BR: 0.639 [Phase Space] : proton pi-
1: BR: 0.358 [Phase Space] : neutron pi0
Idle> /particle/select pi0
/particle/select pi0
Idle> /particle/property/decay/dump
/particle/property/decay/dump
The particle has no decay table !! Command ignored.
Idle>
Is there anything that I’m missing here or is this a bug?
Many thanks,
Dominik