Physics Athens 2016
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
l
s
l m
m
lP
ds e
e
m
1
0
1
1
l m
) ln( r
r
e
l
r
1
) 1ln(
m
m
Made with FlippingBook