G4ParticleDefinition *ion = G4IonTable::GetIonTable()->GetIon(Z, A, ExcitEnergy);
fParticleGun->SetParticleDefinition(ion);
fParticleGun->SetParticleCharge(IonCharge);
fParticleGun->SetParticleTime(0.0*ns);
}
I use a configuration file to define the Z and A variables.
In particular, I’m interested in Am241. I’d like to know how to stop the generation of the sons of Am241. I’m interested only in the decay of the 241Am (alpha around 5.4 MeV and gamma around 59 keV) and not in the decay of all the sons (from 237Np onward).