Gate icon indicating copy to clipboard operation
Gate copied to clipboard

Added support for ions in phaseSpaceSource and charge in phaseSpaceActor

Open GitFuchs opened this issue 3 years ago • 0 comments

I added support for ions in phase space source. If the phase space contains PDGcode, the particles and now also ions are identified and used. ions still don't work using the G4 name.

In the phase space actor I added Charge. So far the command enableCharge added the AtomicNumber. But this is not exactly the charge, for example for electrons the AtomicNumber is 0. I modified enableCharge to store the PDGchare as Charge in the phase space. I added enableAtomicNumber to store the Atomic Number in the phase space.

GitFuchs avatar Sep 28 '22 12:09 GitFuchs