How to save the result


Hi,everyone
I’m a master student who is focus on medical physics.
I changed the exampleB4 and got the Energy distribution.
However, I want to output it to one file because the result will be like a picture1.

./exampleB4a -m myrun.mac
↑ I use this command.

Have a look at G4cout during a Run with a GUI.