next up previous contents
Next: 4.6.13 SUBROUTINE ZAUSHS : Up: 4.6 Patch SGVANAUTL : Previous: 4.6.11 REAL FUNCTION ZAUSDI(I,   Contents


4.6.12 SUBROUTINE ZAUCSS( I, WSUM, OOWSUM) : Collect Shower Statistics-counters

Collect the statistics-counters needed to make the weighted average of shower axes in a cluster of several showers.

ARGUMENTS:
INPUT :
      I : Shower number.
OUTPUT :
      WSUM : sum of shower-axes weighted by 1/sigma^2
      OOWSUM : sum of 1/sigma^2
IMPLICIT INPUTS:
    From /ZASTE/ : IGEOM, the number of the present detector.
    From /ZAEVT/ : MTRK, the total number of seen particles;
    From /ZACLU/ : CTYPCL, calorimeter types; CLUAX, shower axis
IMPLICIT OUTPUTS:
    To /ZACLU/ : PVECLU, cluster 4-momentum.
CALLED BY :
ZAUSHO, SHOWer merging (see 4.6.10).

CALLED ROUTINE(S):
ZUCINS (see 4.7.8)

(To Check if element IN Set)

VADD,VMUL,UCOPY
(CERNLIB routines)

SIDE EFFECTS:
none.

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

CREATION DATE:
06-APR-1995



Mikael Berggren 2003-03-27