11.01.2015 Views

Geant4 Simulations for the Radon Electric Dipole Moment Search at

Geant4 Simulations for the Radon Electric Dipole Moment Search at

Geant4 Simulations for the Radon Electric Dipole Moment Search at

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B<br />

MATLABCode: γ-rayangulardistributions<br />

<strong>for</strong> any transition and degree of orient<strong>at</strong>ion.<br />

1 % Alpha.m<br />

2 function out = Alpha(k,ji,pops)<br />

3 rho = Rho(k,ji,pops);<br />

4 b = B(k,ji);<br />

5 % zero checking //////////<br />

6 if (rho == 0 || b == 0)<br />

7 out = 0;<br />

8 return;<br />

9 end<br />

10 % //////////<br />

11 out = (rho)/(b);<br />

1 % Amax.m<br />

2 function out = Amax(k,ji,L1,L2,jf,∆)<br />

3 if ∆ == 0<br />

4 out = (1/(1+∆ˆ2))*(f(k,jf,L1,L1,ji));<br />

5 else<br />

88

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

Saved successfully!

Ooh no, something went wrong!