How do I run a file with Geant4 macro commands

Version 1 by Jeremy McCormick
on Dec 14, 2006 20:40.


 
compared with
Current by Jeremy McCormick
on Dec 14, 2006 20:41.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 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.
  
 {noformat}
 slic run.macro
 {noformat}
  
 Secondly, the _-m_ switch can be used one or more times to specify macros that will be executed in command line order.
  
  {noformat]
  {noformat}
 slic -m init.macro -m run.macro
 {noformat}