I believe that information is part of the “OrdParamTable.” There’s a UI command in G4UserPhysicsListMessenger to dump it to the terminal, but I’m not finding the command in my executable.
…Oh, lovely. so G4UserPhysicsListMessenger doesn’t define commands under /physics_lists/, as you might guess from the name. It defines a bunch of commands under /run/particle/.
The macro command you want is /run/particle/dumpOrderingParam with no argument. That gives you the full list of processes, type codes, and subtype codes. The subtype codes have to be globally unique, so there’s a one-to-one mapping from process name directly to subtype.
Note that this command only tells you about Geant4 built-in processes, and it lists all “known” Geant4 processes, whether they are in your physics list or not. If you have your own custom processes in your physics list, or if you’re linking in libraries which provide other processes, those will not be included in the list.
You can get information for the processes of a given particle,
but it won’t tell you the subtype assignment; it gives you the process name and the type as a string.