The *Tallies* element contains all tallies to be recorded in the simulation. Sometimes a tally may also be referred to as a scorer.

Volume and Mesh Tallies are available in RSim. Any **Geometry** that has been assigned a material is available to a volume tally.

The parameters that are applied to all volume tallies are:

histogram file name:- This name will prefix the histogram, with one file created for each tally. The full histogram name will be
histogram file name*_h1_*tallyVolume*_*tallyName.csv

The fluence of particles, either going into or out of a selected geometry in MeV.

particle directionEither into shape or out of shape, the fluence will be tracked accordingly.

tally volumeThe name of the geometry the fluence is either being tracked into or out of.

normalize to cosine of incident angleIf yes, the contribution of each particle will be divided by cos(incident angle)

histogram bin unitsThe fluence bins will be seperated by energy of the particle, in units of MeV.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin, MeV particle energy.maximum bin edge valueMaximim bin, MeV particle energy.scaleLinear scaling of the bins.

The sum of particlesâ€™ energy deposits at each step in the volume.

unitsThe energy deposit can be recorded in units of MeV, keV, eV, J, GeV, TeV, PeV.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The sum of energy deposits at each step in a cell divided by the mass of the volume.

unitsThe only units for this tally is Grays (Gy).

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The total charge of particles which have stopped or have been created in the volume, for example the tracks that enter count as +1 and the tracks that exit count as -1.

unitsThis tally can be recored in Couloumbs or positrons (e+).

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The sum of step lengths of the particles inside the volume.

unitsThe track lengths can be recorded in nm, um, mm, cm or m.

weighted resultsSelection of weighting the results or not.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The number of tracks that pass through, (and only pass) completely through the volume.

weighted resultsSelection of weighting the results or not.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The sum of step lengths of particles that pass (and only pass) all the way through the volume.

unitsThe track lengths can be recorded in nm, um, mm, cm or m.

weighted resultsSelection of weighting the results or not.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

Number of particles in the volume.

weighted resultsSelection of weighting the results or not.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

Total number of tracks in the volume.

track directionCan select to record either the tracks entering the volume, exiting the volume or both.

weighted resultsSelection of weighting the results or not.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

Number of tracks in the volume that get cut from the simulation.

weighted resultsSelection of weighting the results or not.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The minimum kinetic energy of secondary particles at their production point in the volume in an event. Does not integrate the quantity, but records the minimum quantity.

unitsThe kinetic energy can be recoreded in MeV, eV, keV, GeV, TeV, PeV, J.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The number of steps in the volume.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The number of secondary particles generated in the volume.

tally volumeThe name of the geometry to record the tally in.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

A mesh tally will create a grid, recording the specified tally in each cell of the grid. This grid will be displayed in the Setup 3D View Window. Some tallies will record in the mesh, while others are applied to the surface of the grid cell.

A maximum of 15 mesh tallies are allowed in a single simulation.

Note that the simulation will run significanly slower if the mesh tally is in the same space as a physical volume.

The grid is specified by selecting the

xMinMinimum coordinate in the x direction.xMaxMaximum coordinate in the x direction.yMinMinimum coordinate in the y direction.yMaxMaximum coordinate in the y direction.zMinMinimum coordinate in the z direction.zMaxMaximum coordinate in the z direction.xCellsNumber of cells in the grid along the x axis.yCellsNumber of cells in the grid along the y axis.zCellsNumber of cells in the grid along the z axis.

All volume tallies are available as mesh tallies as well, and can have a grid specified for the mesh.

The following tallies are only available as mesh tallies.

Number of collisions in the cell.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The passage cell flux is defined by a track length (L) of the particle inside a volume divided by the volume (V) of this cell. The track length is calculated by a sum of the step lengths in the volume. The expression for cell flux is given by the sum of (W*L)/V, where W is a particle weight, and is multiplied by the track length at each step. Note that a passage cell flux is only applied to tracks that pass all the way through the cell.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The cell flux is defined by a track length (L) of the particle inside a volume divided by the volume (V) of this cell. The track length is calculated by a sum of the step lengths in the volume. The expression for cell flux is given by the sum of (W*L)/V, where W is a particle weight, and is multiplied by the track length at each step.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The surface flux is the number of particle tracks that reach the surface of the grid cell, with the incident angle considered according to 1/cos(angle) and normalized to the surface area of the grid cell.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.

The surface current is the number of particles that reach the surface of the grid cell, multiplied by the particle weight and normalized to the cell area.

histogramThe user can specify the format of the binned histogram.

number of binsNumber of bins in the histogram.minimum bin edge valueMinimum bin value in units specified by tally.maximum bin edge valueMaximum bin value in units specified by tally.scaleLinear scaling of the bins.