just recheck the Ndata.DL.foo histograms, and it does have a hit at DL.foo[16]. But when I did a make selector and checked the array length that it assigned to DL.BBcerT14[4],DL.BBcerT12[10],DL.BBcerT19[6],DL.BBcerT20[12] and the rest had DL.BBcerTxx[16].<br>
<br> But checking the histograms all have a hit at 16(not a real event, prob. just a memory thing like you said). So I do not know how make selector is determining the arrays. <br><br>-matt<br><div class="gmail_quote">On Wed, May 26, 2010 at 6:20 PM, Brad Sawatzky <<a href="mailto:brads@jlab.org">brads@jlab.org</a>> wrote:<br>
<blockquote class="gmail_quote"><div class="im"><br>
On Wed, 26 May 2010, MATTHEW R POSIK wrote:<br>
<br>
</div><div class="im">> I just checked the TDC hits and it seems like most of the (15 of the<br>
> TDCs) are arrays of 16 and of the other TDCs with array length less<br>
> than 16, only one was less than the 6 hits that I was looping over<br>
> (For the H2 elastic runs). So I just fixed that. On the TDCs with<br>
> array length 16, there seems to be events in hits 1-6 and then a large<br>
> gap until hit 16 where there is what looks to be one event.<br>
<br>
</div>That doesn't make sense to me. All of the DL class variables have<br>
a hardcoded hit array with 16 elements (see MxHits in THaDecData.C).<br>
The 1877s have a hit buffer depth that is typically programmed to be 6.<br>
<br>
If NData.DL.foo == X, then the data elements<br>
DL.foo[0] .. DL.foo[X-1] are meaninful data<br>
DL.foo[-1] is god knows what (indexing out of bounds)<br>
DL.foo[X] .. DL.foo[15] is god knows what (old data or whatever was<br>
in memory when the array was<br>
instantiated)<br>
DL.foo[16] is god knows what (indexing out of bounds,<br>
possibly the first hit in the array<br>
allocated for the next DecData variable.<br>
Who knows...)<br>
<br>
You say there are DecData hit arrays that have a length other than 16?<br>
Are those associated with the DecData VDC or TrigBit stuff?<br>
<div><div></div><div class="h5"><br>
-- Brad<br>
<br>
--<br>
Brad Sawatzky, PhD <<a href="mailto:brads@jlab.org">brads@jlab.org</a>> -<>- Jefferson Lab / Hall C / C111<br>
Ph: 757-269-5947 -<>- Fax: 757-269-5235 -<>- Pager: <a href="mailto:brads-page@jlab.org">brads-page@jlab.org</a><br>
The most exciting phrase to hear in science, the one that heralds new<br>
discoveries, is not "Eureka!" but "That's funny..." -- Isaac Asimov<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Matthew Posik<br>Email: <a href="mailto:posik@temple.edu">posik@temple.edu</a><br>Temple University Physics Dept.<br>Office: BA-319<br>Office #: 215-204-1331 <br>
WebSites:<br>Temple:<br><a href="http://quarks.temple.edu/">http://quarks.temple.edu/</a><br>d2n:<br><a href="http://hallaweb.jlab.org/experiment/E06-014/">http://hallaweb.jlab.org/experiment/E06-014/</a><br><br>