<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hey Simon,</p>
<p>----1----<br>
</p>
<p>Now I have time to pick up this topic. Honestly, I didn't really
understand your reply. I see that
GateScatterOrderTrackInformation.hh is a package which is included
in the GateFluenceActor.cc file. I thought by setting
mSeparateProcessFilename='scatter' in that file, I might get the
different <b>rayleigh</b> and <b>compton scatter images</b>,
because it states in lines 182-200:<br>
</p>
<pre><code class="hljs hsp"><li class="L182" rel="L182"> <span class="hljs-comment">/* Printing compton or rayleigh or fluorescence scatter images */</span></li><li class="L183" rel="L183"> <span class="hljs-keyword">if</span> (<b>mSeparateProcessFilename</b> != <span class="hljs-string">""</span>)</li><li class="L184" rel="L184"> {</li><li class="L185" rel="L185"> <span class="hljs-comment">/* Saving separately process images (e.g. Compton, Rayleigh...) */</span></li><li class="L186" rel="L186"> std::map<G4String, GateImage*>::iterator it = mProcesses.<span class="hljs-keyword">end</span>()<span class="hljs-comment">;</span></li><li class="L187" rel="L187"> <span class="hljs-keyword">for</span> (unsigned <span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span><span class="hljs-comment">; i < mProcessName.size(); i++)</span></li><li class="L188" rel="L188"> {</li><li class="L189" rel="L189"> it = mProcesses.find(mProcessName[i])<span class="hljs-comment">;</span></li><li class="L190" rel="L190"> <span class="hljs-keyword">if</span> (it != mProcesses.<span class="hljs-keyword">end</span>())</li><li class="L191" rel="L191"> {</li><li class="L192" rel="L192"> std::stringstream filenamestream<span class="hljs-comment">;</span></li><li class="L193" rel="L193"> filenamestream << mSeparateProcessFilename << <span class="hljs-string">"_"</span> << mProcessName[i] << <span class="hljs-string">".mhd"</span><span class="hljs-comment">;</span></li><li class="L194" rel="L194"> sprintf(filename, filenamestream.<span class="hljs-keyword">str</span>().c_str(), rID)<span class="hljs-comment">;</span></li><li class="L195" rel="L195"> mProcesses[mProcessName[i]]->Write((G4String) filename)<span class="hljs-comment">;</span></li><li class="L196" rel="L196"> }</li><li class="L197" rel="L197"> it = mProcesses.<span class="hljs-keyword">end</span>()<span class="hljs-comment">;</span></li><li class="L198" rel="L198"> }</li><li class="L199" rel="L199"> }</li><li class="L200" rel="L200"> }</li></code>
</pre>
<p>But that didn't seem to work out. What can I do to get the
separate scatter images? Or am I supposed to use the
GateScatterOrderTrackInformationActor to obtain that information.
I am stuck here, as the .cc scripting is quite difficult to
understand for me.</p>
<p>---2---</p>
<p>Is there a way to obtain the<b> flatfield</b> with the Fluence
Actor while simulating with a phantom? I need the flatfield to
normalize the images later. What I am doing right now, I remove
the phantom and start the simulation again. It works, but takes
two times the simulation time and I have to run the script twice. </p>
<p><br>
</p>
<p>Thanks again and have a good day!</p>
<p>Nico<br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/21/2016 07:48 AM, Simon Rit
wrote:<br>
</div>
<blockquote
cite="mid:CAF0oig35mfpvCR025ba3Ow3AJGWNiNwerWNkfr8qhfsLZ8fEoQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
</div>
I think that this is meant to be used in combination with
GateScatterOrderTrackInformation. Every time an interaction
occurs in the volume to which
GateScatterOrderTrackInformation is attached, this
information will be added to a user structure of the
particle track. When recording the fluence with the
GateFluenceActor, it will check the same structure of the
particle and record the particle in separate images. This
has been developped to measure the amount of Compton vs
Rayleigh scatter and I think it currently works for photons
only since only Compton, Rayleigh and Fluorescence are
tracked.<br>
</div>
I hope this helps,<br>
</div>
Simon<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Nov 19, 2016 at 7:17 PM,
Triltsch, Nicolas <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:nicolas.triltsch@tum.de" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:nicolas.triltsch@tum.de">nicolas.triltsch@tum.de</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi everyone,</p>
<p>I really enjoy this support, as it was a great help so
far. A new question poped up my mind when dealing with
the so called FluenceActor. <br>
</p>
<p>As it is written in the Wiki, the option enableScatter
prints out the .mhd image for scattering. I assume that
Compton and Rayleigh scatter are combined here. But it
should be possible to get the two scatter images
separate using the command <i>/gate/actor/DetectorFluence/<wbr>separateProcessFilename</i>.
In the Wiki it says to do the following: <br>
</p>
<p>"Set the file name for the different scatter x-rays
processes that hit the detector (printf format with
runId as a single parameter)"</p>
<p>But I don't understand that! Any help would be great?</p>
<p>Cheers,</p>
<p>Nico<br>
</p>
<p><br>
</p>
</div>
<br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users"
rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>