Hi Sanae,<br><br><div><span class="gmail_quote">2008/1/25, Sanae Rechka <<a href="mailto:Sanae.Rechka@usherbrooke.ca">Sanae.Rechka@usherbrooke.ca</a>>:</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 : 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'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'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 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'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 <<a href="mailto:Sanae.Rechka@USherbrooke.ca">Sanae.Rechka@USherbrooke.ca</a>> -----<br> Date : Thu, 24 Jan 2008 18:54:00 -0500<br>
De : Sanae Rechka <<a href="mailto:Sanae.Rechka@USherbrooke.ca">Sanae.Rechka@USherbrooke.ca</a>><br>Adresse de retour :Sanae Rechka <<a href="mailto:Sanae.Rechka@USherbrooke.ca">Sanae.Rechka@USherbrooke.ca</a>><br>
Sujet : Re: [Gate-users] CylindricalPET inside a large lead box or cylinder ?<br> À : Simon Stute <<a href="mailto:gate.stute@gmail.com">gate.stute@gmail.com</a>><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 ? even If Gate only stores hits for those volumes attached to a<br>sensitive detector and belonging to a system. 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't<br>
escape from your box and you will not be able to see them after.<br><br>This is Ok, it'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't it ?<br><br><br><br>Sanae<br><br><br><br><br><br><br><br><br><br><br>Selon Simon Stute <<a href="mailto:gate.stute@gmail.com">gate.stute@gmail.com</a>>:<br><br>> Hi,<br>><br>
> 2008/1/24, Sanae Rechka <<a href="mailto:Sanae.Rechka@usherbrooke.ca">Sanae.Rechka@usherbrooke.ca</a>>:<br>> ><br>> ><br>> > Dear Gate users,<br>> ><br>> > Is it possible to place the CylindricalPET inside a large lead box or<br>
> > cylinder<br>> > to store the energy of photons outside the scanner (photons which escape<br>> > from<br>> > the scanner)?<br>><br>><br>> One possibility is to define the world material to lead, an other is to<br>
> define a big lead box over your CylindricalPET, but there is no interest to<br>> do such a thing because in lead your gammas will be stop before traversing<br>> one mm ! so they won't escape from your box and you will not be able to see<br>
> them after. I don't really see a solution to your investigation at the<br>> moment but if I have an idea, I will send you (but I think this is not<br>> possible without modifying the gate source code and even the geant4 source<br>
> code !)<br>><br>> Good luck !<br>> Simon<br>><br>> Of course, I am aware of this :<br>> > Gate only stores hits for those volumes attached<br>> > to a<br>> > sensitive detector. A volume must belong to a system before it can be<br>
> > attached<br>> > to a sensitive detector. And system should be one of the systems defined<br>> > in<br>> > page 48 of the Gate users Guide. I'm aware of that. And it's why I'm<br>> > asking....<br>
> ><br>> ><br>> > Can any body answer my question please ?<br>> ><br>> > Thank you very much in beforehand<br>> ><br>> ><br>> > Sanae<br>> ><br>> ><br>> > _______________________________________________<br>
> > Gate-users mailing list<br>> > <a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>> > <a href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
> ><br>><br><br><br><br><br><br>----- Fin du message transféré -----<br><br><br><br></blockquote></div><br>