<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi GATE users,</p>
<p>Find attached file 'SpekCalc vs GATE x-ray energy spectrum' which compares the two spectrums. My problem is the GATE characteristics spectrum is shifted to the right a bit when compared to the characteristics energy spectrum from SpekCalc. Please, I want
to know how I can make it align with that of spekcalc. I used the energyspectrum actor definition below</p>
<p></p>
<div>### E N E R G Y S P E C T R U M ######</div>
<div>######################################</div>
<div>/gate/actor/addActor EnergySpectrumActor espectrum</div>
<div>/gate/actor/espectrum/attachTo phantom</div>
<div>/gate/actor/espectrum/save Desktop/PHDthesisGATE/MARFO2017/ModellingX-raytube/XraytubeCU/output/cylinderespectrum.root</div>
<div>/gate/actor/espectrum/addFilter particleFilter</div>
<div>/gate/actor/espectrum/particleFilter/addParticle gamma</div>
<div>/gate/actor/espectrum/energySpectrum/setEmin 0 eV</div>
<div>/gate/actor/espectrum/energySpectrum/setEmax 0.12 MeV</div>
<div>/gate/actor/espectrum/energySpectrum/setNumberOfBins 120</div>
<div>/gate/actor/espectrum/energyLossHisto/setEmin 0 eV</div>
<div>/gate/actor/espectrum/energyLossHisto/setEmax 0.12 MeV</div>
<div>/gate/actor/espectrum/energyLossHisto/setNumberOfBins 120</div>
<div><br>
</div>
Thanks
<p></p>
<p>Best regards,</p>
<p>Emmanuel Marfo</p>
<p>University of Otago</p>
<p>Student </p>
</div>
</body>
</html>