<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Dear Gate-users,</p>
<p>I have a problem when using a phase space actor with time slice. If the output is '.npy' only the particles generated in the first slice are written. If the output is '.root' or '.IAEAphsp' *** Break *** segmentation violation occurs.</p>
<p>Is it something known ?</p>
<p>Thanks for your help.</p>
<p>For instance, if you use radiotherapy example 11 (<span style="font-size: 12px;"><a href="https://github.com/OpenGATE/GateContrib/tree/master/dosimetry/Radiotherapy/example11"><span style="font-family: Arial;">https://github.com/OpenGATE/GateContrib/tree/master/dosimetry/Radiotherapy/example11</span></a></span>) and attach a phase space space actor (below) to patient volume.</p>
<p><em>/gate/actor/addActor PhaseSpaceActor myActor</em><br /><em>/gate/actor/myActor/save output/myIAEA.(npy or root or IAEAphsp)</em><br /><em>/gate/actor/myActor/attachTo patient</em><br /><em>/gate/actor/myActor/enableEkine true</em><br /><em>/gate/actor/myActor/enableXPosition true</em><br /><em>/gate/actor/myActor/enableYPosition true</em><br /><em>/gate/actor/myActor/enableZPosition true</em><br /><em>/gate/actor/myActor/enableXDirection true</em><br /><em>/gate/actor/myActor/enableYDirection true</em><br /><em>/gate/actor/myActor/enableZDirection true</em><br /><em>/gate/actor/myActor/enableProductionVolume false</em><br /><em>/gate/actor/myActor/enableProductionProcess false</em><br /><em>/gate/actor/myActor/enableParticleName true</em><br /><em>/gate/actor/myActor/enableWeight true</em></p>
<p><em>/gate/actor/myActor/storeSecondaries false</em><br /><br /><em>/gate/actor/myActor/useVolumeFrame true</em><br /><br /></p>
<p>Best,</p>
<p>Jeremy Leste</p>
<p> </p>
<div>
<pre>--</pre>
</div>
</body></html>