<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">If I am correct, this was a PET
      simulation and you used the castor-GATERootToCastor conversion
      program to convert your simulated data into a CASToR datafile ?<br>
      <br>
      This is to know where to look for.<br>
      <br>
      Simon<br>
      <br>
      Le 20/11/2017 à 14:10, Kajal Aggarwal a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGb=JVi3beAVrN8kY-auSuXptc2gWnUE778g77iV_Se0o010Tg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hello Simon, <br>
                <br>
              </div>
              Thank you for your response. <br>
              <br>
            </div>
            I do not know how can I write the event indices as unit32_t
            in the binary datafile.<br>
          </div>
          My data is coming from Gate simulation of a pixelated file
          geometry for a source at the centre of the scanner.<br>
        </div>
        <div>I did not include any corrections.<br>
          <br>
        </div>
        <div>I am attaching the log file for further reference. <br>
          <br>
        </div>
        <div>Thank you.<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Nov 20, 2017 at 2:02 PM, Simon
          Stute <span dir="ltr"><<a href="mailto:simon.stute@cea.fr"
              target="_blank" moz-do-not-send="true">simon.stute@cea.fr</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="m_-1555604209017696011moz-cite-prefix">Hi,<br>
                <br>
                There could be several different explanations.<br>
                <br>
                Did you write the event indices as uint32_t in the
                binary datafile ?<br>
                Where do your data come from ?<br>
                Did you include corrections in the datafile ?<br>
                <br>
                You may post a log file with the verbose level set to 3
                in order to get a bit more information.<br>
                <br>
                Best,<br>
                Simon
                <div>
                  <div class="h5"><br>
                    <br>
                    Le 20/11/2017 à 13:56, Kajal Aggarwal a écrit :<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>Hello,<br>
                        <br>
                      </div>
                      I am trying to reconstruct my data for cylindrical
                      PET system after creating scanner.geom and
                      scanner.cdh files. However, I get an error that my
                      crystal index is out of range as shown below:<br>
                      <br>
                      iScannerPET::<wbr>GetPositionsAndOrientations()
                      -> Crystal index 1 (-2090952667) out of range
                      [0:5615]<br clear="all">
                      <div>
                        <div><br>
                        </div>
                        <div>Could you suggest me how do I overcome this
                          issue?<br>
                        </div>
                        <div>-- <br>
                          <div
                            class="m_-1555604209017696011gmail_signature">
                            <div dir="ltr">
                              <div>Thanking you.</div>
                              <div> </div>
                              <div>Yours sincerely,</div>
                              <div>Kajal Aggarwal</div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset
                      class="m_-1555604209017696011mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
Castor-users mailing list
<a class="m_-1555604209017696011moz-txt-link-abbreviated" href="mailto:Castor-users@lists.castor-project.org" target="_blank" moz-do-not-send="true">Castor-users@lists.castor-<wbr>project.org</a>
<a class="m_-1555604209017696011moz-txt-link-freetext" href="http://lists.castor-project.org/listinfo/castor-users" target="_blank" moz-do-not-send="true">http://lists.castor-project.<wbr>org/listinfo/castor-users</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Castor-users mailing list<br>
            <a href="mailto:Castor-users@lists.castor-project.org"
              moz-do-not-send="true">Castor-users@lists.castor-<wbr>project.org</a><br>
            <a
              href="http://lists.castor-project.org/listinfo/castor-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.castor-project.<wbr>org/listinfo/castor-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>Thanking you.</div>
            <div> </div>
            <div>Yours sincerely,</div>
            <div>Kajal Aggarwal</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>