Controlling .root file Outputs in Extended Example->electromagnetic->TestEm1

I want to run extended example->electromagnetic->TestEm1 using the input file method, i.e. TestEm1.in. This example has .root output files with histograms that I am interested in. After making my desired edits to TestEm1.in, I used the following command to run the example:

‘’’
Jamess-MBP:TestEm1-build jamesbowen$ ./TestEm1 TestEm1.in > TestEm1.out
‘’’
It ran, but it did not produce the .root files and their histograms that I am interested in. It looks like the only command that produces the .root output files is:

‘’’
Jamess-MBP:TestEm1-build jamesbowen$ ./TestEm1 runs.mac
‘’’
It does not look like my edits in TestEm1.in were inputted in the run with the runs.mac command. Can I produce the .root output files with the first command I listed above? If so, how? If not, do I make the needed changed in the .cc files in the src directory?