<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hello Gaters,</div>
<div>&nbsp;</div>
<div>I am trying to define a x-ray source using the user-defined energy histogram. My question is how do I define the unit when using /histpoint to define the energy histogram? And if I want to define two histograms &#8211; for example one for energy and one for
angle, how does Gate know which histogram each /histpoint belong to. </div>
<div>Below is the macro file I have: Could any one check for me if I am right? Thanks a lot.</div>
<div><font face="Times New Roman, serif">&nbsp;</font></div>
<div>/gate/source/addSource xraygun</div>
<div>/gate/source/xraygun/setActivity&nbsp;&nbsp; 3.5 becquerel</div>
<div>/gate/source/xraygun/gps/particle gamma</div>
<div>/gate/source/xraygun/gps/energytype User</div>
<div><font color="#FF0000">/gate/source/xraygun/gps/histname energy</font></div>
<div><font color="#FF0000">/gate/source/xraygun/gps/histpoint 0.32 0.5</font></div>
<div><font color="#FF0000">/gate/source/xraygun/gps/histpoint 0.64 0.5</font></div>
<div><font face="Times New Roman, serif">&nbsp;</font></div>
<div>/gate/source/xraygun/gps/type Plane</div>
<div>/gate/source/xraygun/gps/shape Rectangle</div>
<div>/gate/source/xraygun/gps/halfx 1.5 cm</div>
<div>/gate/source/xraygun/gps/halfy 1.5 cm</div>
<div>/gate/source/xraygun/gps/centre 0. 0. -1.6 cm</div>
<div>&nbsp;</div>
<div>/gate/source/xraygun/gps/angtype iso</div>
<div>/gate/source/xraygun/gps/mintheta 0. deg</div>
<div>/gate/source/xraygun/gps/maxtheta 0. deg</div>
<div>&nbsp;</div>
<div><font face="Times New Roman, serif">&nbsp;</font></div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>Ming Yang, M.S.</div>
<div>Graduate Research Assistant</div>
<div>Radiation Physics Department</div>
<div>MD Anderson Cancer Center</div>
<div>Office #: B2.4510</div>
<div>Office Phone #: 713-745-0464</div>
<div>&nbsp;</div>
<div><font face="Times New Roman, serif">&nbsp;</font></div>
<div><font face="Times New Roman, serif">&nbsp;</font></div>
</font>
</body>
</html>