![Page 1: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/1.jpg)
Worked example using
MCSHAPE
Viviana Scot
Laboratory of Montecuccolino-DIENCA
Alma Mater Studiorum University of Bologna
![Page 2: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/2.jpg)
MCSHAPE
MCSHAPE is a Monte Carlo code developed at the University of Bologna which can
simulate the diffusion of photons with arbitrary polarization state and has the unique
feature of describing the evolution of the polarization state along the interactions with
the atoms.
The adopted transport model is derived from the so called Boltzmann-Chandrasekhar
'vector' transport equation. The polarization state of the photons is described by using
the Stokes parameters I, Q, U and V, having the dimension of intensities and
containing the physical information about the polarization state.
This code simulates the propagation in heterogeneous media of photons injected by
either polarized (i.e., synchrotron) or unpolarized sources (x-ray tubes).
• Website: http://shape.ing.unibo.it
![Page 3: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/3.jpg)
X-ray
experiment
Detector
Spectrum
(unknown)
Measured
spectrum
Transport model of the
x-ray experiment
Transport model of the
detector response
function
Detector resolution
model
Transport spectrum
Transport spectrum
with the detector
response
Simulated
spectrum
X-ray
experiment
Detector
Spectrum
(unknown)
Measured
spectrum
Transport model of the
x-ray experiment
Transport model of the
detector response
function
Detector resolution
model
Transport spectrum
Transport spectrum
with the detector
response
Simulated
spectrum
X-ray
experiment
Detector
Spectrum
(unknown)
Measured
spectrum
Transport model of the
x-ray experiment
Transport model of the
detector response
function
Detector resolution
model
Transport spectrum
Transport spectrum
with the detector
response
Simulated
spectrum
Schematic diagram of a simulation with MCSHAPE, compared
with the experimental steps for a spectrum measurement.
![Page 4: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/4.jpg)
Differences between the computational structures of
scalar and vector MC models
![Page 5: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/5.jpg)
Comparison with experimental data
(synchrotron experiment)
• Sample: Cu
• Energy: 40 keV
• Linearly polarized source with
polarization degree P= 0.885
• Scattering angle: 90°
0 10 20 30 40
1E-7
1E-6
1E-5
1E-4
1E-3
0.01
0.1 (a)
Inte
nsity [a
.u.]
Energy [keV]
experimental data
transport stage
0 10 20 30 40
1E-7
1E-6
1E-5
1E-4
1E-3
0.01
0.1
Inte
nsity [a
.u.]
Energy [keV]
experimental data
transport with detector
response function
(b)
0 10 20 30 40
1E-7
1E-6
1E-5
1E-4
1E-3
0.01
0.1
(c)
Inte
nsity [a
.u.]
Energy [keV]
experimental data
transport with detector
response including resolution
0 10 20 30 40
1E-7
1E-6
1E-5
1E-4
1E-3
0.01
0.1
(c)
Inte
nsity [a
.u.]
Energy [keV]
experimental data
transport with detector
response including resolution
0 10 20 30 40
1E-7
1E-6
1E-5
1E-4
1E-3
0.01
0.1
(c)
Inte
nsity [a
.u.]
Energy [keV]
experimental data
transport with detector
response including resolution
![Page 6: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/6.jpg)
Simulation of the x-ray tube spectrum
Hamamatsu Tube
with glass window
operated at 50 kV
Glass Composition:
SiO2 (silice) 70%
Na2CO3 (soda) 15%
CaO (calce) 10%
B2O3 (altro) 5%
![Page 7: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/7.jpg)
X-ray source
![Page 8: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/8.jpg)
Simulation of transport in brass
• Source: SpectrumS_MCSHAPE.dat
Hamamatsu x-ray tube at 50kV
• Target: brass_2012
Cu 64 %
Zn 36 %
density 8.5 g/cm3
thickness 0.05 cm
• Geometry: geo45_45.DAT
scattering angle 90 degrees
![Page 9: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/9.jpg)
Transport in brass
![Page 10: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/10.jpg)
Computation of the detector response
• Source: S_ottone_2012.dat
• Target: Si_05mm
Si 100 %
density 2.33 g/cm3
thickness 0.05 cm
• Geometry: photons undergone normal to
the detector
![Page 11: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/11.jpg)
Let us analyse the detector response
Scape peaks
Compton
Continuum
![Page 12: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/12.jpg)
Detector Resolution
![Page 13: Worked example using MCSHAPE - trasprad.ing.unibo.ittrasprad.ing.unibo.it/13_-_fernandez_-_example_MCSHAPE.pdf · Worked example using MCSHAPE Viviana Scot Laboratory of Montecuccolino-DIENCA](https://reader031.vdocuments.mx/reader031/viewer/2022022800/5c6d9b6509d3f274098c09a7/html5/thumbnails/13.jpg)
Comparison with a measured spectrum
Very good agreeement
for the peak ratio
The background is
slightly greater in the
measurement…
Perhaps the wood
support behind the
brass is missing!