next up previous index
Next: PHYS260 Cerenkov photons Up: PHYS251 Simulation of Previous: PHYS251 Simulation of

Method

The Rayleigh differential cross section as a function of q2 is given by []: {d σR( q2) d Ω}= { πr02 k2}( {1 + μ2 2 }) | FT( q ) | 2

where:

Under the assumption that the atoms of a molecule are completely independent, | FT( q ) | 2 is given by: | FT( q ) | 2= ∑i=1N{WiAi}| Fi( qi, Zi) | 2σci( Zi, E )

where the index i runs on the N atoms in the molecule and:

Wi proportion by weight

Zi, Ai atomic number and weight

Fi form factor

σci total atomic cross section for coherent scattering

Using the combined composition and rejection sampling method described in GPAIRG ( [PHYS211]) we may set: f ( q ) = ∑i=1Nαifi( q )gi( q ) = ∑i=1NA ( qi2){ | FT( q ) | 2 A ( qn2) }( {1+μ22})

where:

Therefore, for given values of the random numbers r1 and r2 , GRAYL samples the momentum of the scattered photon and the scattering angle θ via the following steps:

  1. sample A ( q2) = r1A ( qn2)

  2. find the ( qi-1, qi] interval which gives A ( qi-12) ≤A ( q2)≤A ( qi2)

  3. calculate the linear extrapolation: q = qi-1+ ( A ( q2) - A ( qi-12) ){qi- qi-1 A ( qi2) - A ( qi-12)}

  4. calculate μ= cos θ= 1 - q2/(2 k2)

  5. calculate gi( q ) = (1 + μ2)/2

  6. if gi( q ) > r2 the event is accepted, otherwise go back to 1.

F. Carminati

PHYS260


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