Hi Sanae,<br><br><div><span class="gmail_quote">2008/1/25, Sanae Rechka &lt;<a href="mailto:Sanae.Rechka@usherbrooke.ca">Sanae.Rechka@usherbrooke.ca</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi Simon,<br><br>Done :&nbsp;&nbsp;I confirmed by simulation what was said in the Gate users Guide : we can<br>only record Hits in volumes belonging to the scanner.<br><br>I tried the two solutions you proposed, but they don&#39;t work. And as you said<br>
there is no solution without modifying the gate source code.</blockquote><div><br>OK, too bad ...<br>Nevertheless, perhaps I have a solution, but it is a do-it-yourself method !<br><br>If you build a very very large cylindricalPET (I mean your original scanner but where rsectors have a huge length on z axis, ideally infinity !) you could stop almost every gammas which should go outside your original scanner. Then everything will be done in the postprocessing. Assuming the z length of your rsector from your original scanner is zOrig, and the output format is ROOT. Then for each Singles, you take the globalPosZ variable (which represents the z cartesian coordinate where your gammas was detected) and you check whether this variable is lower than -zOrig/2 or higher than +zOrig/2. If it&#39;s the case then it means that your gamma should go outside your original scanner and so you can get the energy and everything that you are looking for. The only problem is how big your z length should be to get the lower error and to loose the lower quantity of&nbsp; the emitted gammas.<br>
<br>I realise now that maybe you want to get photons that go inside your crystals and then go outside without doing a photoelectric interaction. In this case, you have to build deeper rsectors and crystals than the original ones and proceed with the same idea. You take the globalPosX and globalPosY variables, then calculate the angle of the position from the x axis (or y axis), then calculate with that angle the maximum xOrig and yOrig values from where your photon will be outside the original rsector and see by doing an other calculation if your x and y values are higher (or lower, it depends on the angle value) than the xOrig and yOrig values, which means that the photon is out of your original scanner !!! Very simple ;-) It&#39;s really much more complicated than the first method but it depends on what you want to get.<br>
<br>Am I clear in this message, do I really understand what you want to do ?<br>In any case, I hope this will work,<br><br>Cheers,<br>Simon<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks and Have a nice day<br>Sanae<br><br><br><br><br><br><br>----- Message transféré de Sanae Rechka &lt;<a href="mailto:Sanae.Rechka@USherbrooke.ca">Sanae.Rechka@USherbrooke.ca</a>&gt; -----<br>&nbsp;&nbsp; Date : Thu, 24 Jan 2008 18:54:00 -0500<br>
&nbsp;&nbsp;&nbsp;&nbsp; De : Sanae Rechka &lt;<a href="mailto:Sanae.Rechka@USherbrooke.ca">Sanae.Rechka@USherbrooke.ca</a>&gt;<br>Adresse de retour :Sanae Rechka &lt;<a href="mailto:Sanae.Rechka@USherbrooke.ca">Sanae.Rechka@USherbrooke.ca</a>&gt;<br>
&nbsp;&nbsp;Sujet : Re: [Gate-users] CylindricalPET inside a large lead box or cylinder ?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;À : Simon Stute &lt;<a href="mailto:gate.stute@gmail.com">gate.stute@gmail.com</a>&gt;<br><br>Hi Simon,<br><br>Thank you very much for your answer,<br>
<br>- But if we define the world material to lead, can we record Hits in the world<br>material ?&nbsp;&nbsp;even If Gate only stores hits for those volumes attached to a<br>sensitive detector and belonging to a system.&nbsp;&nbsp;And system should be one of the<br>
systems defined in page 48 of the Gate users Guide (which mean CylindricalPET,<br>SPECT, ECAT, etc...) ?????<br><br>- for the second solution : to define a big lead box over your CylindricalPET,<br>in lead your gammas will be stopped before traversing one mm ! so they won&#39;t<br>
escape from your box and you will not be able to see them after.<br><br>This is Ok, it&#39;s what I need. But can we record Hits in the Box over the scanner<br>? because according to the GATE users Guide we can only record Hits in volumes<br>
belonging to the scanner ? isn&#39;t it ?<br><br><br><br>Sanae<br><br><br><br><br><br><br><br><br><br><br>Selon Simon Stute &lt;<a href="mailto:gate.stute@gmail.com">gate.stute@gmail.com</a>&gt;:<br><br>&gt; Hi,<br>&gt;<br>
&gt; 2008/1/24, Sanae Rechka &lt;<a href="mailto:Sanae.Rechka@usherbrooke.ca">Sanae.Rechka@usherbrooke.ca</a>&gt;:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Dear Gate users,<br>&gt; &gt;<br>&gt; &gt; Is it possible to place the CylindricalPET inside a large lead box or<br>
&gt; &gt; cylinder<br>&gt; &gt; to store the energy of photons outside the scanner (photons which escape<br>&gt; &gt; from<br>&gt; &gt; the scanner)?<br>&gt;<br>&gt;<br>&gt; One possibility is to define the world material to lead, an other is to<br>
&gt; define a big lead box over your CylindricalPET, but there is no interest to<br>&gt; do such a thing because in lead your gammas will be stop before traversing<br>&gt; one mm ! so they won&#39;t escape from your box and you will not be able to see<br>
&gt; them after. I don&#39;t really see a solution to your investigation at the<br>&gt; moment but if I have an idea, I will send you (but I think this is not<br>&gt; possible without modifying the gate source code and even the geant4 source<br>
&gt; code !)<br>&gt;<br>&gt; Good luck !<br>&gt; Simon<br>&gt;<br>&gt; Of course, I am aware of this :<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gate only stores hits for those volumes attached<br>&gt; &gt; to a<br>&gt; &gt; sensitive detector. A volume must belong to a system before it can be<br>
&gt; &gt; attached<br>&gt; &gt; to a sensitive detector.&nbsp;&nbsp;And system should be one of the systems defined<br>&gt; &gt; in<br>&gt; &gt; page 48 of the Gate users Guide. I&#39;m aware of that.&nbsp;&nbsp;And it&#39;s why I&#39;m<br>&gt; &gt; asking....<br>
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Can any body answer my question please ?<br>&gt; &gt;<br>&gt; &gt; Thank you very much in beforehand<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Sanae<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>
&gt; &gt; Gate-users mailing list<br>&gt; &gt; <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>&gt; &gt; <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
&gt; &gt;<br>&gt;<br><br><br><br><br><br>----- Fin du message transféré -----<br><br><br><br></blockquote></div><br>