22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Therefore, the differential cross-section can be written as<br />

dσ<br />

dv<br />

= f(v)g(v) (2)<br />

with<br />

f(v) =<br />

g(v) =<br />

[<br />

v ln<br />

1<br />

Φ(0)<br />

( )] −1 vmax<br />

v c<br />

(1 − v + 3 4 v2 )<br />

Φ(δ)<br />

We can sample the photon energy in the following way (r 1 , r 2 uniformly distributed random numbers in<br />

]0, 1[):<br />

1. sample v:<br />

( ) r1 vmax<br />

v = v c<br />

v c<br />

2. compute the rejection function g(v) and:<br />

(a) if r 2 >g(v) go back to step 1<br />

(b) if r 2 ≤ g(v), accept v and k = vE.<br />

After the successful sampling of k, GBREMM generates the polar angles of the radiated photon with respect to<br />

an axis defined along the parent muon’s momentum calling GBTETH. For more information on the sampling<br />

procedure see [PHYS341].<br />

PHYS441 – 2 312

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!