Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

The command line option -r is used to set the maximum number of events that slic will run.

No Format
slic -g mygeom.lcdd -i events.stdhep -r 1

The actual number of events may be less, if you have a file-based event source like a StdHep file that has fewer events than the specified maximum.

The Geant4 built-in command /run/beamOn is the corresponding command.

No Format
/run/beamOn 1