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 GEOM299<br />

Origin : R.Brun Submitted: 01.11.78<br />

Revision : Revised: 14.12.93<br />

Documentation :<br />

The rotation matrix data structure JROTM<br />

NROTM IROTM JROTM<br />

1<br />

2<br />

3<br />

.<br />

9<br />

Sinθ 1<br />

Cosφ 1<br />

Sinθ 1<br />

Sinφ 1<br />

Cosθ 1<br />

....<br />

(same for θ 2<br />

and θ 3<br />

)<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

16<br />

Rotation flag<br />

θ 1<br />

(degrees)<br />

φ 1<br />

θ 2<br />

φ 2<br />

θ 3<br />

φ 3<br />

Figure 30: Layout of the JROTM data structure<br />

JR = LQ(JROTM-IROTM) is the pointer to the bank of the rotation matrix IROTM;<br />

The rotation flag is computed by GSROTM to recognise simple rotation configurations. In particular it is set<br />

to 0 for the unit matrix.<br />

135 GEOM299 – 1

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

Saved successfully!

Ooh no, something went wrong!