Next: 4.3.15 SUBROUTINE ZDROPA(FIRST, PB,
Up: 4.3 Patch SGVDETSIM :
Previous: 4.3.13 SUBROUTINE ZDMBRM(P, PMINBR,
  Contents
4.3.14
SUBROUTINE ZDMPAR(P, ATMNB, NEWTRK, ERROR) : Make e+e- PAiR
This routine generates a e+e- pair from a gamma momentum P, and
returns the momenta of positron and of the electron created in
NEWTRK.
-
ARGUMENTS:
-
-
INPUT :
-
P : 4-momentum of the incomming gamma (in GeV/c)
ATMNB : Atom-number of the material
-
OUTPUT :
-
NEWTRK(1-3,1) : 4-momentum of the out-going electron (in GeV/c)
NEWTRK(1-3,2) : " " " " " positron (in GeV/c)
ERROR : Error-flag : 0 -> OK
1 -> Below cutoff
2 -> Exhausted number of iterations
-
IMPLICIT INPUTS:
-
none.
-
IMPLICIT OUTPUTS:
-
none.
-
CALLED BY :
- ZDPAIR, generate PAIR production
(see 4.3.10).
-
CALLED ROUTINE(S):
-
-
ZURECT
(see 4.7.14)
(To get a RECTangular random-number)
-
ZDROPA
(see 4.3.15)
(To ROtate the generated PAir.)
-
SIDE EFFECTS:
- none
-
AUTHORS:
- M. Berggren, UFRJ (adopted from DELSIM's SXPAR)
-
CREATION DATE:
- 03-apr-1996
Mikael Berggren
2003-03-27