Increase precision in verbosity

Hi! Is there a parameter that can be changed to increase the precision of the printed positions of each step, when using /tracking/verbose 1? I need at least a precision up to 0.1 mm and right now it is 1 mm, or even 10 mm if the value is higher than 1000.
Thank you very much


I don’t know how to do it.
But I think if you want to know the tracking about some particle
You can save the information into root, and analysis the root file.

the example B4a may be useful

Since Geant4 11.0, you can use G4SteppingVerboseWithUnits.
See, lines 34 and 57-59

Thanks maire, that’s exactly what I need!



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.