28.11.2014 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Transformation to the laboratory system In the scattering system used here, k ⃗ 0 and ⃗e 0 are<br />

in the direction of ⃗e z and ⃗e x , respectively, as shown in Figure 2.23, whereas k ⃗ 0 and ⃗e 0 may be in an<br />

arbitrary direction in the laboratory system. The scattering and laboratory systems are connected<br />

via three rotations, which are calculated from the direction of k ⃗ 0 and ⃗e 0 in the laboratory system.<br />

Using these three rotations, ⃗ k and ⃗e are transformed from the scattering system to the laboratory<br />

system.<br />

Here, we describe the relation of the laboratory system, which is used in the default EGS4<br />

simulation, to the scattering system used in Compton and Rayleigh scattering routines for linearly<br />

polarized photons.<br />

The laboratory system, in which k ⃗ 0 and ⃗e 0 are in arbitrary directions, and the scattering system,<br />

in which k ⃗ 0 is parallel to ⃗e z and ⃗e 0 is parallel to ⃗e x , is transformed to each other by three rotations.<br />

⃗e z and ⃗e x are unit vectors parallel to the z- and x-axes. Two rotations are necessary to make<br />

⃗k 0 ‖ ⃗e z . These rotations were described by Cashwell and Everett [42]. The default version of EGS4<br />

already treats these rotations. Using Cashwell’s notation, this A −1 matrix is<br />

⎛<br />

⎞<br />

uw vw<br />

A −1 ρ ρ<br />

− ρ<br />

⎜<br />

=<br />

−v u ⎟<br />

⎝ ρ ρ<br />

0 ⎠ . (2.441)<br />

u v w<br />

Here, ρ = √ 1 − w 2 . This matrix is written with an inverse sign, since A is mainly used for a<br />

transformation from the scattering system to the laboratory system. It is clear that<br />

⎛ ⎞ ⎛ ⎞<br />

u 0<br />

A −1 ⎝ v ⎠ = ⎝ 0 ⎠ . (2.442)<br />

w 1<br />

In the laboratory system, ⃗e 0 ⊥ ⃗ k 0 ; rotation by A −1 does not change this relation. As A −1 makes<br />

⃗k 0 ‖ ⃗e z , A −1 moves ⃗e 0 onto the x-y plane. In Figure 2.25, ⃗ k 0 and ⃗e 0 after two rotations by the A −1<br />

matrix is shown. Another rotation by an angle (−ω) along the z-axis is necessary to make ⃗e 0 ‖ ⃗e x<br />

. The cos ω and sin ω are calculated using<br />

⎛ ⎞<br />

cos ω<br />

A −1 ⃗e 0 = ⎝ sin ω ⎠ . (2.443)<br />

0<br />

By these three rotations, ⃗ k 0 and ⃗e 0 in the laboratory system are transferred to those in the scattering<br />

system. The scattered photon propagation vector ( ⃗ k) and the polarization vector (⃗e) are transferred<br />

from the scattering system to the laboratory system by an inverse of these three rotations after<br />

Compton or Rayleigh scattering.<br />

The relationship of ⃗ k 0 , ⃗ k, ⃗e 0 and ⃗e in laboratory system and those in scatter system are:<br />

⃗k 0 (lab) = A · B · ⃗k 0 (scatter),<br />

⃗e 0 (lab) = A · B · ⃗e 0 (scatter),<br />

⃗ k (lab) = A · B · ⃗ k (scatter), (2.444)<br />

⃗e (lab) = A · B · ⃗e (scatter),<br />

136

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!