next up previous index
Next: Physical units Up: BASE090 The reference Previous: The MAster Reference

The local reference systems ( MRS and DRS)

As explained in [GEOM001], the setup is described via the definition of an initial volume inside which all the others will be positioned. In GEANT terminology, each time a volume has contents, created either via division or by positioning other volumes inside, it is called a MOTHER. The volumes contained are called DAUGHTERs, and they, in turn, can contain volumes to a depth of 15 levels. This is sometimes referred to as a Russian doll geometry.

Every volume defined in GEANT has a reference system attached to it (see GEOM section). When this volume has contents, this is referred to as the Mother Reference System ( MRS, with origin in Om ). Daughters are positioned inside the mother with respect to the MRS. The MRS of the first volume defined, containing all the others, is nothing else than the MARS.

Each one of the daughters has its own reference system, which is referred to as the Daughter Reference System, or DRS with origin in Od .

The transformation of a point from the MRS (Vm ) to the DRS (Vd ), at any level, is performed using a rotation matrix [R] and a translation vector T via the relation :

Vd=[ R ](Vm-T)

The components of T are the projections of the vector (Om, Od)

onto the MRS axes. The rotation matrices are computed from the spherical angles of each of the axes of the daughter reference systems ( I, II, III) with respect to the mother reference system ( 1, 2, 3). The spherical angles Θ and Φ of a direction D are defined as follows :

Θ

is the angle formed by the axis 3 and D (0 < Θ < 180 ).
Φ

is the angle formed by the axis 1 and the projection of D onto the plane defined by the axes 1 and 2 (0 < Φ < 360 ).
Examples are given in [GEOM200]. The various rotation matrices required for a given setup must be defined by the user during the initialisation stage. A number is assigned to each matrix [GEOM200]. The translation vector and the number of the rotation matrix are specified by the user when the volumes are positioned inside their mother [GEOM110].



next up previous index
Next: Physical units Up: BASE090 The reference Previous: The MAster Reference


Janne Saarela
Mon Apr 3 12:46:29 METDST 1995