Z0 Decay Cannot Find Particle


I am trying to simulate a Z0 boson decay in vacuum but it seems like particle Z0 does not “exist” in the /gun/particle list. Also I did /run/particle/dumpList and it does not appear in that list too.

I was wondering if you could tell me how I could manage to do this. Maybe the solution ain’t as easy as I thought it would be.

Thanks in advance, Diego

Indeed Geant4 doesn’t have decays of W/Z - these are best handled by an external event generator program. There are several ways to interface these with Geant4, and a couple are shown in the event generator extended examples - see the “HepMC” one for reading in from a file, and “Pythia” for direct interface with an event generator, in this case Pythia.