<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hi Mike,<br>
      the tree is small:<br>
      <br>
        TreePi0->Branch("EventNUM",&EventNUM,"EventNUM/l"); //
      lower case l for ULong64_t<br>
        TreePi0->Branch("RFT", &RFT, "RFT/F");<br>
        TreePi0->Branch("Nbeam", &Nbeam, "Nbeam/I");<br>
        TreePi0->Branch("BeamE",BeamE,"BeamE[Nbeam]/F");<br>
        TreePi0->Branch("BeamT",BeamT,"BeamT[Nbeam]/F");<br>
        TreePi0->Branch("Nneut", &Nneut, "Nneut/I");<br>
        TreePi0->Branch("NeutralX", NeutralX, "NeutralX[Nneut]/F");<br>
        TreePi0->Branch("NeutralY", NeutralY, "NeutralY[Nneut]/F");<br>
        TreePi0->Branch("NeutralZ", NeutralZ, "NeutralZ[Nneut]/F");<br>
        TreePi0->Branch("NeutralT", NeutralT, "NeutralT[Nneut]/F");<br>
        TreePi0->Branch("NeutralE", NeutralE, "NeutralE[Nneut]/F");<br>
        TreePi0->Branch("DetSys", DetSys, "DetSys[Nneut]/I");<br>
        TreePi0->Branch("Nstart", &Nstart, "Nstart/I");<br>
        TreePi0->Branch("SC_E", SC_E, "SC_E[Nstart]/F");<br>
        TreePi0->Branch("SC_T", SC_T, "SC_T[Nstart]/F");<br>
        TreePi0->Branch("SC_S", SC_S, "SC_S[Nstart]/I");<br>
      <br>
    </font>filling the tree is done between locks<br>
      japp->RootFillLock(this);<br>
        ..........<br>
      japp->RootFillUnLock(this);<br>
    <br>
    the integer numbers are ok.<br>
    it looks like I overwrite some array however I make sure that that
    does not happen.<br>
    at least thats what I thought I did ;-)<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04/17/2017 01:57 PM, Michael Staib
      wrote:<br>
    </div>
    <blockquote
      cite="mid:6452EE49-51B0-49D0-8D2E-F9E1EDF53373@andrew.cmu.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hi Beni,
      <div class=""><br class="">
      </div>
      <div class="">How big is the tree? Maybe the negative number of
        bytes is some kind of overflow in a uint->int cast. Does it
        happen for all of the files or just a few?</div>
      <div class=""><br class="">
      </div>
      <div class="">-Mike</div>
      <div class=""><br class="">
        <div class="">
          <div class="">
            <div class="">--</div>
            <div class="">Michael Staib</div>
            <div class="">Graduate Student, Dept. of Physics</div>
            <div class="">Carnegie Mellon University</div>
            <div class=""><a moz-do-not-send="true"
                href="mailto:mstaib@cmu.edu" class="">mstaib@cmu.edu</a></div>
            <div class="">phone: 412-268-2983</div>
          </div>
          <div class=""><br class="">
          </div>
          <br class="Apple-interchange-newline">
        </div>
        <br class="">
        <div>
          <blockquote type="cite" class="">
            <div class="">On Apr 17, 2017, at 11:59 AM, Beni Zihlmann
              <<a moz-do-not-send="true"
                href="mailto:zihlmann@jlab.org" class="">zihlmann@jlab.org</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta http-equiv="content-type" content="text/html;
                charset=windows-1252" class="">
              <div bgcolor="#FFFFFF" text="#000000" class=""> <font
                  class="" face="Helvetica, Arial, sans-serif">Does
                  anyone have an idea what I am doing wrong in my Tree?<br
                    class="">
                  Creating and writing a tree does not snow any error.
                  However when opening the file <br class="">
                  and look with TBrowser in the tree I get the following
                  error outputs when looking at any variable in the tree<br
                    class="">
                  for each entry.<br class="">
                  Error in <TBasket::Streamer>: The value of
                  fNbytes is incorrect (-394784763) ; trying to recover
                  by setting it to zero<br class="">
                  <br class="">
                  <br class="">
                </font> </div>
              _______________________________________________<br
                class="">
              Halld-offline mailing list<br class="">
              <a moz-do-not-send="true"
                href="mailto:Halld-offline@jlab.org" class="">Halld-offline@jlab.org</a><br
                class="">
              <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/halld-offline">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>