Basic Monte Carlo Steps
Sample energy of photon created by electron
Sample angles
and
between incoming electron and created photon
Select distance to the first interaction
Probability that the photon will travel a distance
l
without interaction is
exp(-
m
l)
m
dl
is the probability to interact
Probability to interact between
l
and
l+dl
is given by
m
exp(-
m
l) dl
) ln(
1
) 1ln(
1
1
1
0
r
r
l
e
r
e
ds e
lP
l
l
l
s
m
m
m
m
m
m