22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Geant 3.16 GEANT User’s Guide PHYS410<br />

Origin : M. Hansroul Submitted: 01.09.76<br />

Revision : Revised: 16.12.93<br />

Documentation :<br />

1 Subroutines<br />

Rotations and Lorentz transformation<br />

CALL GLOREN<br />

(BETA,PA,PB*)<br />

GLOREN transforms the momentum and the energy from one Lorentz frame (A) to another (B). It uses the<br />

following input and output:<br />

BETA(4)<br />

PA(4)<br />

PB(4)<br />

(REAL) velocity components in light units of frame B in frame A, BETA(1...3) = ⃗ β, BETA(4)=<br />

(1 − β 2 ) −1/2 = γ;<br />

(REAL) momentum components in the frame (A);<br />

(REAL) momentum components in the frame (B).<br />

GLOREN is called from the routine GDECAY. The momentum ⃗p A and energy E A in reference frame A are<br />

transformed into the momentum ⃗p B and energy E B in reference frame B which translates with velocity ⃗ β<br />

with respect to A:<br />

E B = γ(E A − β ⃗ · ⃗p A )<br />

( )<br />

⃗p B = ⃗p A + γβ<br />

⃗ γβ ⃗ · ⃗pA<br />

γ +1 − E A<br />

CALL GDROT<br />

(P*,COSTH,SINTH,COSPH,SINPH)<br />

GDROT rotates a vector from one reference system to another.<br />

P(3)<br />

COSTH<br />

SINTH<br />

COSPH<br />

SINPH<br />

(REAL) vector to rotate, overwritten on output;<br />

(REAL) cosine of the polar angle;<br />

(REAL) sine of the polar angle;<br />

(REAL) cosine of the azimuthal angle;<br />

(REAL) sine of the azimuthal angle;<br />

GDROT is called from several routines to rotate a particle from in the center-of-mass system to the GEANT<br />

(laboratory) system. The following rotation matrix is used:<br />

⎛<br />

⎜<br />

⎝<br />

cos θ cos φ − sin φ sin θ cos φ<br />

cos θ sin φ cos φ sin θ sin φ<br />

− sin θ 0 cosθ<br />

⎞ ⎛<br />

⎟<br />

⎠ = ⎜<br />

⎝<br />

cos φ − sin φ 0<br />

sin φ cos φ 0<br />

}<br />

0 0<br />

{{<br />

1<br />

}<br />

R φ<br />

⎞ ⎛<br />

⎞<br />

cos θ 0 sinθ<br />

⎟ ⎜<br />

⎠ ⎝ 0 1 0 ⎟<br />

⎠<br />

}<br />

− sin θ 0<br />

{{<br />

cosθ<br />

}<br />

R θ<br />

R θ is a counterclockwise rotation around axis y by an angle θ, and R φ is a counterclockwise rotation around<br />

axis z ′ (rotated by an angle θ from the initial position) by an angle φ.<br />

295 PHYS410 – 1

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

Saved successfully!

Ooh no, something went wrong!