next up previous contents
Next: 4.3.19 SUBROUTINE ZDCCVL(ICAL,CTYP,SHOAX,VAL) : Up: 4.3 Patch SGVDETSIM : Previous: 4.3.17 SUBROUTINE ZDCALO(IGEOM, PP,   Contents


4.3.18 SUBROUTINE ZDCLSA (ICAL,CTYP,SHOAXT,SHOAX) : CaLorimeter Shower Axis

This routine simulates the seen shower axis (start-point) and direction for the particle entering calorimeter ICAL, of type CTYP at the point and direction given by SHOAXT. The way the calorimeter measures these quantaties is taken into account, by calling ZTCSMC

ARGUMENTS:
INPUT :
    ICAL : number of the calorimeter.
    CTYP  : +ve : Cylindrical detector.
            -ve : Plane detector.
    SHOAXT  : True Shower axis and direction :
                (1) First impactpoint (barrel : Rphi, forward : x)
                (2) Second     "      (barrel : z, forward : y)
                (3) shower theta angle
                (4) shower phi angle
OUTPUT :
    SHOAX  : Seen Shower axis and direction :
                (1) First seen impactpoint (barrel : Rphi, forward : x)
                (2) Second  "       "      (barrel : z, forward : y)
                (3) Seen shower theta angle
                (4) Seen shower phi angle
IMPLICIT INPUTS:
    none
IMPLICIT OUTPUTS:
    none.
CALLED BY :
ZDCALO, CALOrimeter simulation (see 4.3.17).

CALLED ROUTINE(S):
ZUGAUS (see 4.7.13)

(To get a GAUSsian random number.)

ZUI2PI (see 4.7.2)

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

ZUINPI (see 4.7.3)

(To bring angle IN the range 0 to PI.)

ZUINPI (see 4.7.3)

(To bring angle IN the range 0 to PI.)

ZTCSMC (see 4.4.30)

(To get Calorimeter Shower Meassurement Code)

ZTCSDE (see 4.4.31)

(To get Calorimeter Shower Direction Errors)

ZTCMOS (see 4.4.34)

(To get Calorimeter MOdule Size)

ZDCCVL (see 4.3.19)

(To get Calorimeter Cell VaLue)

ZDCCCC (see 4.3.20)

(To get Calorimeter Cell Centre Coordinates)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ M. A. Do Vale, UFRJ

CREATION DATE:
06-APR-1995


next up previous contents
Next: 4.3.19 SUBROUTINE ZDCCVL(ICAL,CTYP,SHOAX,VAL) : Up: 4.3 Patch SGVDETSIM : Previous: 4.3.17 SUBROUTINE ZDCALO(IGEOM, PP,   Contents
Mikael Berggren 2003-03-27