Output File Overview

Several output files are created when an RSim File is saved, and several more after a run.

PRE File

This file is a translation of the GUI .SDF file into a GORAD simulation file. It is not possible, nor necessary to edit this file


The GDML file will contain all information regarding the Geometries of the simulation, saved in GDML format. The content of this file will noticeably change if the Basic Setting Constructive Solid Geometry Format is changed to tesselated. For most all instances a CSG format will provide faster computational speed. Presence of this file in the local simulation directory is necessary to run a simulation.

Materials File

The materials file is a .xml file that will contain all materials data used in the simulation. Presence of this file in the local simulation directory is necessary to run a simulation.

VSH5 File

The .vsh5 file is a reperesentation of the gdml file used for visualizing the geometries. It is necessary for visualizing simulation results

Histogram Files

Histogram files are created for all tallies. The number of data lines in the file will correspond to the number of bins specified in the tally +2. There is an overflow and underflow bin automatically included.

The second column is the sum of weights in that bin. If not using weighted results this will be equal to the number of entries. The third column is the sum of squared weights, also equal to the number of entries if weight is 1. The third column is the value of tally times the weight. The fourth column is the value of the tally squared times the weight.

PostScript File

A postscript file is also created that is the specified histogram file name. This will contain a graph of all histograms from the simulation.

Tally Files

A CSV file is created for every tally. This will contain the name of the volume / mesh used in the tally. Name of the tally along with the value of the tally, and square of the tally value. An example Shape Tally is given below

# mesh name: s1_WallBracket_vol

# primitive scorer name: EnergyDepositWallBracket

# i, i, i, total(value) [MeV], total(val^2), entry


In a volume tally, the first three entries will all be 0’s. In a mesh tally this will correspond to the index of the mesh cell.

Scores File

A file filename_scores.h5 will be created for visualizing the simulaiton results.

G4History.macro File

This is a condensed version of the PRE file, and should not be modified.

Alias File

The alias file is used in converting the SDF file to a PRE file.