next up previous contents
Next: 4. Description of Routines. Up: 3. Structure of SGV. Previous: 3.6 Patch SGVANAUTL :   Contents

3.7 Patch GENUTL : General utility routines

This patch contains general utilities for things like handling angles, transforming between systems, setting and checking bits, generating random-numbers and matrix algebra (the latter are copies of general DELPHI code, and are not included if the patchy flag DELPHI is set).

$\bullet$
SUBROUTINE ZULETD(ABSP, MASS, X0, SIGMA) : calculate multiple-scattering s.d. using Lynch ET Dahls formulae
CALLED ROUTINE(S):
none

$\bullet$
SUBROUTINE ZUI2PI(PHIIN, PHIOUT) : bring angle Into the interval 0 to 2PI
CALLED ROUTINE(S):
none

$\bullet$
SUBROUTINE ZUINPI(PHIIN, PHIOUT) : bring angle INto the interval 0 to PI
CALLED ROUTINE(S):
none

$\bullet$
SUBROUTINE PXTCPX(RADIUS, PAR, P, X) : transform Track parameters on Cylinder to PXpypz
CALLED ROUTINE(S):
ZUI2PI (decription 4.7.2, follow 3.7)

(To bring an angle In the range 0 to 2PI.)

$\bullet$
SUBROUTINE PXTPPX(Z, PAR, P, X) : transform Track parameters on Plan to PXpypz
CALLED ROUTINE(S):
ZUI2PI (decription 4.7.2, follow 3.7)

(To bring an angle In the range 0 to 2PI.)

$\bullet$
SUBROUTINE ZUINTS (ELEM, SET) : INto Set
CALLED ROUTINE(S):
none

$\bullet$
SUBROUTINE ZUOUTS (ELEM, SET) : OUT of Set
CALLED ROUTINE(S):
none

$\bullet$
LOGICAL FUNCTION ZUCINS ( ELEM, SET ) : Check if IN Set
CALLED ROUTINE(S):
none

$\bullet$
INTEGER FUNCTION ZUCARS ( SET , N ) : CARdinal number of Set
CALLED ROUTINE(S):
ZUCINS (decription 4.7.8, follow 3.7)

(To Check if element IN Set)

$\bullet$
LOGICAL FUNCTION ZUSEQV(S1, S2, N) : Set EQuiValence
CALLED ROUTINE(S):
none

$\bullet$
SUBROUTINE ZUSAND(S1, S2, S3, N) : Set AND
CALLED ROUTINE(S):
none

$\bullet$
SUBROUTINE ZUSOR(S1, S2, S3, N) : Set OR
CALLED ROUTINE(S):
none

$\bullet$
REAL FUNCTION ZUGAUS (MEAN, SD) : generate GAUSsian random number
CALLED ROUTINE(S):
RNORML
(CERNLIB gaussian random generator.)

$\bullet$
REAL FUNCTION ZURECT (DUMMY) : generate RECTangular random number
CALLED ROUTINE(S):
RANMAR
(CERNLIB rectangular random generator.)

$\bullet$
SUBROUTINE ZUCODS(D,S,N) : COpy Double prec to Single prec
CALLED ROUTINE(S):
none

$\bullet$
SUBROUTINE ZUCOSD(S,D,N) : COpy Single prec. to Double prec
CALLED ROUTINE(S):
none

$\bullet$
INTEGER FUNCTION ZULOCR(X, VECT, N) : LOCate Real
CALLED ROUTINE(S):
none

$\bullet$
INTEGER FUNCTION ZULOCI(X, VECT, N) : LOCate Integer
CALLED ROUTINE(S):
none


next up previous contents
Next: 4. Description of Routines. Up: 3. Structure of SGV. Previous: 3.6 Patch SGVANAUTL :   Contents
Mikael Berggren 2003-03-27