Chapter 7
Ray tracing and rotations
In this chapter, we begin to enter into a specialization of Monte Carlo methods for particle
transport. We discuss how particles are “ray-traced” or “displaced” in space. We also
discuss coordinate transformations and rotations. Ray-tracing is related to moving a particle
around a medium and/or a geometry. Rotations occur at interaction sites where particles
are deflected by scattering angles. These scattering angles are usually expressed in terms of
“laboratory coordinates” where the particle was assumed to be travelling along the positive
z-axis. Coordinate transformations are useful for specifying geometrical elements in some
easy-to-describe coordinate system. Coordinate transformations maybe applied to situate
these geometrical elements in the position appropriate to the application.
First we introduce the concept of a particle’s phase space. For the meantime we will assume
it takes the following form:
{~x, ~u} . (7.1)
The particle’s phase space is simply a collection of dynamic variables that describe the
particle’s absolute location in space referred back to the origin of some laboratory coordinate
system, ~x, and its direction, ~u, referred back to a fixed set of axes in the same laboratory
coordinate system. The laboratory coordinate system is usually the one where the fixed
components of the experiment resides. ~x represents the 3-vector ~x =(x, y, z)and~u represents
the 3-vector ~u =(u, v, w) the direction cosines. The direction cosines may also be expressed
in terms of the angles ~u =(u, v, w)=(sinθ cos φ, sin θ sin φ, cos θ), where θ and φ are the
polar and azimuthal angles respectively.
The phase space can be much more descriptive. It can include the particle’s energy, its
particle type (in a mixed particle simulation), an identifier that indicates which geometrical
element it is in, its spin, the time, or anything that the application may demand. We may
even include information that physically would not be available such as, for example, the
number of Compton interactions that a photon has undergone. For now, however, we keep
it as simple as possible.
75