Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
The command _slic -n_ will start the simulator in interactive mode, where Geant4 commands can be typed into the terminal.  When you use this command, you should see the Geant4 prompt.

{format}
PreInit>PreInit>
{format}

The "PreInit" means that the geometry and physics have not been loaded, so Geant4 is in a pre-initialization state.

If you specify the geometry file with the interactive mode, then the simulator will be intialized for you.  

{noformat}
slic -g mygeom.lcdd -n
{noformat}

This command should result in the idle state.

{noformat}
Idle>
{noformat}

From the idle state, it is possible to start the simulation by using the _/run/beamOn_ command, or execute other commands that are valid for the idle state.