I am looking to run multiple macro files one after the other and have my program output the results of each macro file to a new file.
I can create a “master” macro file that is just a large number of “/control/execute run_x.mac” commands to run all the macro files.
A macro command to rename the output file would be very helpful.
Alternatively, a macro command to input an integer variable into the geant program would be work as I could update that integer after each /control/execute run_x.mac" command then rename each file with that integer.
Each macro file contains a different number of runs so using GetRunID() isn’t an option.