<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">This sounds like the problem Thomas and Brad recently were seeing when a branch had</div><div class="">not entries. You might compare details with them.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 17, 2017, at 2:44 PM, Beni Zihlmann <<a href="mailto:zihlmann@jlab.org" class="">zihlmann@jlab.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<font face="Helvetica, Arial, sans-serif" class="">Hi Mike,<br class="">
the tree is small:<br class="">
<br class="">
TreePi0->Branch("EventNUM",&EventNUM,"EventNUM/l"); //
lower case l for ULong64_t<br class="">
TreePi0->Branch("RFT", &RFT, "RFT/F");<br class="">
TreePi0->Branch("Nbeam", &Nbeam, "Nbeam/I");<br class="">
TreePi0->Branch("BeamE",BeamE,"BeamE[Nbeam]/F");<br class="">
TreePi0->Branch("BeamT",BeamT,"BeamT[Nbeam]/F");<br class="">
TreePi0->Branch("Nneut", &Nneut, "Nneut/I");<br class="">
TreePi0->Branch("NeutralX", NeutralX, "NeutralX[Nneut]/F");<br class="">
TreePi0->Branch("NeutralY", NeutralY, "NeutralY[Nneut]/F");<br class="">
TreePi0->Branch("NeutralZ", NeutralZ, "NeutralZ[Nneut]/F");<br class="">
TreePi0->Branch("NeutralT", NeutralT, "NeutralT[Nneut]/F");<br class="">
TreePi0->Branch("NeutralE", NeutralE, "NeutralE[Nneut]/F");<br class="">
TreePi0->Branch("DetSys", DetSys, "DetSys[Nneut]/I");<br class="">
TreePi0->Branch("Nstart", &Nstart, "Nstart/I");<br class="">
TreePi0->Branch("SC_E", SC_E, "SC_E[Nstart]/F");<br class="">
TreePi0->Branch("SC_T", SC_T, "SC_T[Nstart]/F");<br class="">
TreePi0->Branch("SC_S", SC_S, "SC_S[Nstart]/I");<br class="">
<br class="">
</font>filling the tree is done between locks<br class="">
japp->RootFillLock(this);<br class="">
..........<br class="">
japp->RootFillUnLock(this);<br class="">
<br class="">
the integer numbers are ok.<br class="">
it looks like I overwrite some array however I make sure that that
does not happen.<br class="">
at least thats what I thought I did ;-)<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<div class="moz-cite-prefix">On 04/17/2017 01:57 PM, Michael Staib
wrote:<br class="">
</div>
<blockquote cite="mid:6452EE49-51B0-49D0-8D2E-F9E1EDF53373@andrew.cmu.edu" type="cite" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
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 class="">
<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 class="">
</div>
_______________________________________________<br class="">Halld-offline mailing list<br class=""><a href="mailto:Halld-offline@jlab.org" class="">Halld-offline@jlab.org</a><br class="">https://mailman.jlab.org/mailman/listinfo/halld-offline</div></blockquote></div><br class=""></body></html>