To kill all secondaries use:
============================
in .cfg file:
VPSet Watchers = {
{
string type = "KillSecondariesRunAction"
} }
To kill secondary baryons and ions below threshold use:
=======================================================
in .cfg file:
replace g4SimHits.Watchers = {
{string type = "KillSecondariesTrackAction"
using common_heavy_suppression
} }
and play with the default settings of common_heavy_suppression using
replace common_heavy_suppression.SuppressHeavy = true
and also the thresholds: IonThreshold, NeutronThreshold, ProtonThreshold
(momenta values given in MeV/c)