next up previous index
Next: Method Up: PHYS231 Simulation of Previous: PHYS231 Simulation of

Subroutines

CALL GPHOT GPHOT simulates the photoelectric effect. It uses the following input and output:

Input
via common GCTRAK
Output
via common GCKING
It calls the functions GPHSG1, GPHSGP, GAVRL2 and GAVRL3 for the cross-section and the functions GHPHAK, GHPHAL1, GHPHAL2, GPHAL3 for the cosine distribution of the photoelectron. GPHOT is called by the tracking routine GTGAMA, if, and when, the photon reaches its interaction point. GAVRL2VALUE = GAVRL2(GAMAL2,BETAL2,X) GAVRL2 calculates approximation of the cross-section for the photoelectric effect from LII shell. GAMAL2, BETAL2 are the Lorentz gamma and beta factors of the emitted photoelectron and X = me/Eγ where me is the electron mass and Eγ is the incident radiation energy. GAVRL2 is called by GHPOT. GAVRL3VALUE = GAVRL3(GAMAL3,BETAL3,X) GAVRL3 calculates approximation of the cross-section for the photoelectric effect from LIII shell. GAMAL3, BETAL3 are the Lorentz gamma and beta factors of the emitted photoelectron and X = me/Eγ where me is the electron mass and Eγ is the incident radiation energy. GAVRL3 is called by GPHOT. GPHAKVALUE = GPHAK(BETAK) GPHAL1VALUE = GPHAL1(BETAL1) GPHAK and its entry point GPHAL1 poll the cosine distribution (w.r.t. the incident photon direction) of the photoelectron emitted from K or LI shell, respectively. They are called by GPHOT. GPHAL2VALUE = GPHAL2(BETAL2) GPHAL2 polls the cosine distribution (w.r.t. the incident photon direction) of the photoelectron emitted from LII shell. GPHAL3VALUE = GPHAL3(BETAL3) GPHAL3 polls the cosine distribution (w.r.t. the incident photon direction) of the photoelectron emitted from LIII shell. It is called by GPHOT. GPHSGPVALUE = GPHSGP(EGAM) GPHSGP calculates the photoelectric effect total cross-section for a particular atom of a mixture taking into account weights. It is called by GPHOT for Z≤100 .



next up previous index
Next: Method Up: PHYS231 Simulation of Previous: PHYS231 Simulation of


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