I followed examples/extended/hadronic/NeutronSource to implement a user SteppingAction and SteppingVerbose, but I do not receive any printing to G4cout as is described in the SteppingVerbose for verboseLevel > 1. The example does not describe how to instantiate a SteppingManager and SetVerboseLevel for batch mode (I know for UI I can just apply /verbose/ command). How does one do that in this case?
I had the same problem with the /examples/extended/radioactivedecay example.
Using ‘/tracking/verbose 2’, I was able to display the information described in the SteppingVerbose. Not sure whether it will do the same for yours.