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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Origin : Submitted: 01.10.84<br />

Revision : Revised: 26.10.93<br />

Documentation : R.Brun, F.Bruyant<br />

1 The MAster Reference System (MARS)<br />

The reference systems and physical units<br />

The kinematic variables of the particles transporter by GEANT are always referred to the so-called MAster<br />

Reference System (MARS). This system is implicitly defined as the local reference system of the first volume<br />

defined, which contains all the others. This is a Cartesian coordinate system with axis ˆx, ŷ,ẑ where ẑ =<br />

ˆx × ŷ. If the axes are labelled (X,Y,Z), then the point P is represented in fig2.<br />

Z<br />

• P(X Y Z)<br />

Y<br />

X<br />

Figure 2: GEANT reference system<br />

Tracking is performed in the MARS and the input position for user routines such as the magnetic field routine<br />

is given in this system.<br />

2 The local reference systems (MRS and DRS)<br />

As explained in [GEOM001], the setup is described via the definition of an initial volume inside which all<br />

the others will be positioned. In GEANT terminology, each time a volume has contents, created either via<br />

division or by positioning other volumes inside, it is called a MOTHER. The volumes contained are called<br />

DAUGHTERs, and they, in turn, can contain volumes to a depth of 15 levels. This is sometimes referred to as<br />

a Russian doll geometry.<br />

Every volume defined in GEANT has a reference system attached to it (see GEOM section). When this volume<br />

has contents, this is referred to as the Mother Reference System (MRS, with origin in O m ). Daughters are<br />

positioned inside the mother with respect to the MRS. The MRS of the first volume defined, containing all the<br />

others, is nothing else than the MARS.<br />

Each one of the daughters has its own reference system, which is referred to as the Daughter Reference<br />

System, or DRS with origin in O d .<br />

The transformation of a point from the MRS (V m )totheDRS (V d ), at any level, is performed using a rotation<br />

matrix [R] and a translation vector T via the relation :<br />

V d =[R](V m − T )<br />

The components of T are the projections of the vector (O m ,O d ) onto the MRS axes. The rotation matrices<br />

are computed from the spherical angles of each of the axes of the daughter reference systems (I, II, III)<br />

with respect to the mother reference system (1, 2, 3). The spherical angles Θ and Φ of a direction D are<br />

defined as follows :<br />

25 BASE090 – 1

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

Saved successfully!

Ooh no, something went wrong!