Basic Settings

The Basic Settings element contains a group of property/value pairs that define the basic setup of the simulation.

number of events: The number of events (particles generated) in the simulation.

dump period: The simulation log will provide an update on the number of simulated events at this period. Useful for gauging simulation speed.

number of threads: The number of computer threads to make available for the simulation.

model: The computational model to use for the simulation. gorad is the only supported selection at this time.

process verbosity: The level of informative text to be output during the simulation run. The levels are listed below in an increasing order.

  • 0
  • 1
  • 2

control verbosity:

  • 0
  • 1
  • 2

tracking verbosity:

  • 0
  • 1
  • 2

event verbosity:

  • 0
  • 1
  • 2

run verbosity:

  • 0
  • 1
  • 2

analysis verbosity:

  • 0
  • 1
  • 2

Constructive Solid Geometry format: This controls the format of CSG shapes in the GDML file containing all geometries of the simulation.

  • CSG This will use CSG objects. It is reccomended for most all cases as it is most accurate, and provides the fastest simulation.
  • tessellated This will save the geometries in a tessellated format, according to the tessellation property of the CSG tab.

Please note, that although RSim can export CSG GDML and runs Geant4 with it, it cannot import it into a setup. Only tessellated GDML can be imported. This limitation will be addressed in the future development.

geometry verification: This will enable or disable a feature to verify if there are any overlaps in the geometry. If overlaps are detected a warning will be given but the simulation will proceed as normal.

  • disable geometry verification This is the default setting, as geometry verification is not supported on Windows operating systems
  • enable geometry verification
    • number of spots Number of spots to check for overlap. 1000 is a good default.
    • maximum number of errors Maximum number of overlaps that can exist.
    • tolerance The minimum distance between two spots to not be considered an overlap.
    • units Units of the tolerance calculation, If overlap is detected the amount of overlap will be given in these units.

random seeds: By default a random seed, but a seed can be set for enabling precise rerunning of a simulation.