There are two ways to run a file with Geant4 macro commands using slic.

First, a single non-option command line argument is treated as a macro.

slic run.macro

Secondly, the -m switch can be used one or more times to specify macros that will be executed in command line order.

slic -m init.macro -m run.macro
  • No labels