<div dir="ltr">Dear <span style="font-family:Gulim,sans-serif;font-size:13.3333px">Han Gyu and </span><span style="font-family:Gulim,sans-serif;font-size:13.3333px">Christian, </span><div><span style="font-family:Gulim,sans-serif;font-size:13.3333px"><br></span></div><div><span style="font-family:Gulim,sans-serif;font-size:13.3333px">Thanks, </span>Han Gyu very much for your quick response and Christian great contribution. I just installed the patch and the installation went well,  then I reboot my vGATE8.2 virtual machine. However, I still didn't get any coincidence event registered when using genericRepeater in a <b>cylindricalPET</b> system in my simple test. </div><div><br></div><div>Here is what I did: </div><div>I replaced the ring repeater with genericRepeater in <a href="https://github.com/OpenGATE/Gate/blob/develop/benchmarks/benchPET/camera.mac" target="_blank">benchPET</a>, reduced the number of detector heads to 2 and set minSectorDifference to 1. Then I did a visualization check. Finally, I got no coincidence recorded. Then I switched back to ring repeater (which is the only change for this step), I did collect many coincidence events. So it looks the patch doesn't fix the problem in <b>cylindricalPET</b>. </div><div><br></div><div>Has anyone ever got the patch work in a cylindricalPET system? </div><div><br></div><div>Thank you so much, dear GATE community members.</div><div>Sincere greetings,</div><div><br></div><div>Zhengzhi </div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 8:27 PM 강한규 <<a href="mailto:lovehangulp@naver.com" target="_blank">lovehangulp@naver.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div style="font-size:10pt;font-family:Gulim,sans-serif"><p>Dear Zhengzhi, and Christian,</p><p> </p><p><span style="font-size:10pt">As you already know, Christian (</span><a href="mailto:pommranz@astro.uni-tuebingen.de" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(17,85,204)" rel="noreferrer noopener" target="_blank">pommranz@astro.uni-tuebingen.de</a><span style="font-size:10pt">) shared the git patch file to solve the coincidence output issue.</span> </p><p><a href="http://lists.opengatecollaboration.org/pipermail/gate-users/2019-February/010729.html" style="font-size:10pt" target="_blank">http://lists.opengatecollaboration.org/pipermail/gate-users/2019-February/010729.html</a></p><p> </p><p style="font-size:13.3333px">I have also <b>succeeded </b>in acquiring coincidence output using <b>generic repeater</b> in<b> PETscanner </b>system with the patch file shared by Christian.</p><p style="font-size:13.3333px">Below is an example of the detector arrangement with genericRepeater.</p><p style="font-size:13.3333px">Thanks Christian for your great contribution~!</p><p style="font-size:13.3333px"><img src="cid:16feafef0c54ec9c9171"> </p><p style="font-size:13.3333px"><span style="font-size:13.3333px"> </span> </p><p>Here is a brief manual how to apply the git patch in GATEv8.2.</p><p><span style="font-size:10pt">===========================================================================================================================</span></p><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><b><font color="#ff0000">Problem</font></b>: <font color="#ff0000"><b>No coincidence</b></font> in the "<b>PETscanner</b>" when <font color="#ff0000"><b>genericRepeater </b></font>was used.</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><b><font color="#0000ff">Solution</font></b>: <b>Modify the GATEv8.2 source code</b> using a <b>git patch file</b> and <b>re-compile</b>.</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"> </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">GATE mailing list (Christian Pommranz <<a href="mailto:pommranz@astro.uni-tuebingen.de" style="color:rgb(17,85,204)" rel="noreferrer noopener" target="_blank">pommranz@astro.uni-tuebingen.de</a>>) </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><a href="http://lists.opengatecollaboration.org/pipermail/gate-users/2019-February/010729.html" style="color:rgb(17,85,204)" rel="noreferrer noopener" target="_blank">http://lists.opengatecollaboration.org/pipermail/gate-users/2019-February/010729.html</a></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"> </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><b>STEP1</b>> Download the git patch file in the mailing list.</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">Filename: <b>coincidences_for_generic_repeater.patch</b></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"> </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><b>STEP2</b>> Apply the git patch file.</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">>cd /home/kanghg2/program/Gate-8.2</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">>git apply --ignore-space-change --ignore-whitespace coincidences_for_generic_repeater.patch</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"> </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><b>STEP3</b>> Re-compile GATEv8.2</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">>cd /home/kanghg2/program/Gate-8.2-build</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">>ccmake ../Gate-8.2</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">[c] configure</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">[g] generate</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"> </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">>make</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"> </div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><b>STEP4</b>> Run the GATE PETscanner with genericRepeater.</div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)"><b>Now coincidence output will be generated!</b></div><p style="font-size:13.3333px"><span style="font-size:10pt">===========================================================================================================================</span></p><div><p style="font-size:13.3333px"> </p><p style="font-size:13.3333px"><span style="font-size:10pt">Hopefully, you will be able to obtain coincidence output with genericRepeater.</span> </p></div><div><span style="font-size:10pt"> </span></div><p>Best regards,</p><p> </p><p>Han Gyu Kang, Ph.D.</p><p> </p><p>Imaging Physics Group, NIRS-QST, Japan.</p><p style="font-size:10pt;font-family:sans-serif;padding:0px 0px 0px 10pt"><span>-----Original Message-----</span><br><b>From:</b> "Zhengzhi Liu"<<a href="mailto:zliu36@stanford.edu" target="_blank">zliu36@stanford.edu</a>> <br><b>To:</b> <<a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>>; <br><b>Cc:</b> <br><b>Sent:</b> 2020-01-28 (화) 12:47:21 (GMT+09:00)<br><b>Subject:</b> [Gate-users] No coincidences when using generic repeater in PET<br> </p><div dir="ltr">Dear GATE community members, <div> </div><div>I looked at previous GATE <a href="http://lists.opengatecollaboration.org/pipermail/gate-users/2019-February/010729.html" rel="noreferrer noopener" target="_blank">correspondence</a>, it looks there has been an issue with coincidence sorter when using along with generic repeater. I am using vGATE8.2, it still exists. </div><div> </div><div>Has anyone ever succeeded in getting them to work together? </div><div> </div><div>Thanks a lot for your advice.</div><div>Sincerely,</div><div> </div><div>Zhengzhi </div></div>



</div>

</div><table style="display:none"><tbody><tr><td><img src="https://mail.naver.com/readReceipt/notify/?img=fZeC1zkrWrmYaXIn%2B6%2B5KxkoF6MXF6UdFoglF6ulFrFSFxEwFzFCp6KXM6trtzFXp6UmKAv5W4d5W4pZMLlGWq%2FsD4wG%2BxKrtHFdM6l4WXiv74kv%2Bt%3D%3D.gif" border="0"></td></tr></tbody></table></blockquote></div>