<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Dear Xiaozhuang,</p>
    <p>Thank you very much for exposing this issue and for your detailed
      file. The differences in reconstructions originated from an
      incorrect line in the conversion code, leading to an erroneous
      reading of the number of crystals when the first rsector is
      located on the Y-axis, and from the different possible ordering
      IDs in GATE, as you mentioned. I attached to this mail an update
      of the code with a fix which should solve this issue. Please tell
      me if you encounter any other troubles.</p>
    <p>Kind regards,</p>
    <p>Thibaut<br>
    </p>
    <br>
    <br>
    <div class="moz-cite-prefix">On 28/08/2018 03:59,
      <a class="moz-txt-link-abbreviated" href="mailto:ahwxz123@mail.ustc.edu.cn">ahwxz123@mail.ustc.edu.cn</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:3cb0bf31.38378.1657e41673f.Coremail.ahwxz123@mail.ustc.edu.cn"
      type="cite">
      <div><font face="Times New Roman" size="4">Dear Castor users,</font></div>
      <div><font face="Times New Roman" size="4"><span style="white-space:pre"> </span>I
          am a beginner using GATE and Castor. Recently I found an
          interesting situation when i used castor-GATERootToCastor  to
          reconstruct the GATE results, it seemed that  Castor unitID
          probably did not match to every GATE geometry definition.
          (More detail in attachment PDF file)</font></div>
      <div><font face="Times New Roman" size="4"><span style="white-space:pre"> </span>In
          GATE simulation  there are many ways to establish geometry
          architecture. i could  start planting  the rsector at any axis
          , and after repeating units,  and rotating the angle to define
          the first rsector location.   But </font><span
          style="font-family: "Times New Roman"; font-size:
          large;">i received  the different results from two GATE seemed
          same geometry simulation </span><span style="font-family:
          "Times New Roman"; font-size: large;">when i used
          converted inputfile from </span><span style="font-family:
          "Times New Roman"; font-size: large;">castor-GATERootToCastor.</span><span
          style="font-family: "Times New Roman"; font-size:
          large;">  I checked and found that the detector unitID are
          different in GATE geometry, so </span><span
          style="font-family: "Times New Roman"; font-size:
          large;">castor-GATERootToCastor should not directly use the ID
          form GATE, or  it is better to verify  these ID were quite
          correctly good in  castor </span><span style="font-family:
          "Times New Roman"; font-size: large;">-GATERootToCastor.</span></div>
      <div><font face="Times New Roman" size="4"><span style="white-space:pre"> </span>I
          wrote two GATE mac files in attachments with different
          start-rsector planting, if you are interested in the
          comparison  of GATE results  , you can check and do some
          simulation.(PS: before runnig the mac files , please reset
          GATEMeterials.db path in your PC). </font></div>
      <div><font face="Times New Roman" size="4"> </font></div>
      <div><span style="" lang="EN-US"><font face="Times New Roman"
            size="4">regards,</font></span></div>
      <div>
        <div>
          <div>
            <div><br>
              <span>--<br>
                <font face="Times New Roman">Xiaozhuang Wang  </font>
                <div><font face="Times New Roman"><a
                      moz-do-not-send="true"
                      href="mailto:ahwxz123@mail.ustc.edu.cn"
                      target="_blank">ahwxz123@mail.ustc.edu.cn</a></font></div>
                <div><span style="font-family: "times new
                    roman" ; line-height: 16.8px">Room410, The
                    Department of Modern Physics, University of Science
                    and Technology of China</span></div>
                <div><font face="Times New Roman">No.96, JinZhai Road
                    Baohe District,Hefei,Anhui, 230026,P.R.China.</font></div>
                <div><font face="Times New Roman"><br>
                  </font></div>
              </span></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Castor-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Castor-users@lists.castor-project.org">Castor-users@lists.castor-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.castor-project.org/listinfo/castor-users">http://lists.castor-project.org/listinfo/castor-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Thibaut MERLIN -- PhD

Docteur en Imagerie Médicale au Laboratoire de Traitement de l'Information Medicale (LaTIM - INSERM UMR 1101)
Bâtiment 1
CHRU Morvan - 2, Av. Foch
29609 Brest CEDEX - FRANCE
Tel: 06.75.12.24.90</pre>
  </body>
</html>