Next:  Method
Up:  PHYS231 Simulation of 
 Previous:  PHYS231 Simulation of 
 
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 
 shell.  GAMAL2,
 BETAL2 are the Lorentz gamma and beta factors of the emitted 
photoelectron and 
 where 
 is
the electron mass and 
 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 
 shell.
 GAMAL3,  BETAL3 are the Lorentz gamma and beta factors of the 
emitted photoelectron and 
 where 
 is the electron 
mass and 
 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 
 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 
 shell.
GPHAL3VALUE = GPHAL3(BETAL3)
 GPHAL3 polls the cosine distribution (w.r.t. the incident photon
direction) of the photoelectron emitted from 
 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 
.
 
 
 
  
 
 Next:  Method
Up:  PHYS231 Simulation of 
 Previous:  PHYS231 Simulation of 
 
Janne Saarela 
Mon Apr  3 12:46:29 METDST 1995