<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;">Hi All,<div><br></div><div>Something I have been working through is the negative energy hits in the BCAL. This is understood to be caused by hits late in the event where the correct number of pedestal samples are not subtracted from the integral. We do see that effect, but there were also some highly negative hits showing up at times where the full integration window should have been available. The cause is incorrect times being assigned to small pulses late in the window. See discussion that follows. Now we just have to think about implementing a fix. It will probably have to wait until David gets back since the most natural place will be in the DAQ library. It turns out this probably affects every subsystem since it is a “feature” of the algorithm. I haven’t checked if this got ported over to the 125 firmware as well.</div><div><br></div><div>The fix is to require that (peak height - per event pedestal) / 2 > threshold. This essentially doubles the threshold to have a hit, which might not be an acceptable solution. For now just be aware that pulse heights less than two times the threshold value may not have a reasonable time assigned to them in mode 7. </div><div><br></div><div>Best Regards,</div><div>Mike<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica';">Ed Jastrzembski <<a href="mailto:jastrzem@jlab.org">jastrzem@jlab.org</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica';"><b>Re: Some problems with f250 algorithms?</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica';">August 27, 2015 at 6:43:00 PM EDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica';">Michael Staib <<a href="mailto:mstaib@andrew.cmu.edu">mstaib@andrew.cmu.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Cc: </b></span><span style="font-family:'Helvetica';"><a href="mailto:hdong@jlab.org">hdong@jlab.org</a>, David Lawrence <<a href="mailto:davidl@jlab.org">davidl@jlab.org</a>>, William McGinley <<a href="mailto:wmcginle@andrew.cmu.edu">wmcginle@andrew.cmu.edu</a>><br></span></div><br><div>
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
We believe we understand the data you see. It is a problem with
the time calculation, where hits in the latter half of the window
are mistakenly assigned earlier times. It can ONLY happen (as you
suggested) when V_mid is below V_threshold. Since you set
V_threshold very close to the baseline, the erroneous times can
occur only for very small pulses. We believe that the time
calculation is CORRECT whenever V_mid > V_threshold. You can
use this criterion to filter your data with negligible losses.<br>
<br>
The first event you printed out is used here to explain how this
error can occur: <br>
The hit in channel 6 has an integral = 2336, so based on your
scatterplot it probably had an actual time of about 5200 (sample
83). Since you allow only 1 hit, it is the earliest sample in the
window that was above threshold. V_peak = 107 is just above the
threshold of 105. Pedestal = 100, so V_mid = 103.5. Since it is
the first hit in the window, the current timing algorithm begins
at sample 5 (because the pedestal uses the first 4) and continues
towards the peak (sample 83) trying to find the first sample that
is greater than V_mid. If a fluctuation in the baseline occurs
that is greater than V_mid, that sample defines (erroneously) the
coarse time. In this event the pulse time = 816 (sample 13), so
the fluctuation occurred there. Note that if V_mid >
V_threshold, this mistaken assignment cannot occur because the
baseline fluctuation would itself become the first pulse in the
window. <br>
<br>
In retrospect, it would have been better to search backwards from
the peak to find the sample with value crossing V_mid. Hai's new
timing algorithm uses this approach. <br>
<br>
Ed, Hai<br>
<br>
<br>
On 8/20/2015 2:04 PM, Michael Staib wrote:<br>
</div>
<blockquote cite="mid:C72DC4DC-FEA4-440A-8185-D3EC997D499F@andrew.cmu.edu" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi,
<div><br>
</div>
<div>The threshold is set to 105 ADC counts, the baseline is set
to be ~100 ADC counts. The firmware revision is 0x00223. This is
from a run where the number of peaks reported is only one so no
need to cut on that. Here is a scatter plot of the plus integral
Vs Time and the same in color:</div>
<div><br>
</div>
<div><img apple-width="yes" apple-height="yes" apple-inline="yes" id="60846EF8-2B93-4708-821B-607AA6442A1F" height="374" width="640" src="cid:part1.08020206.08090100@jlab.org"><img apple-width="yes" apple-height="yes" apple-inline="yes" id="DBB509FC-1658-4B6B-87FE-7A9BAD0793F3" height="384" width="640" src="cid:part2.07020201.04010501@jlab.org"> </div>
<div><br>
</div>
<div>Most of the events that show the unusually small integrals
also show a very low pulse peak, hinting towards a problem with
the timing when V_mid is below V_Threshold. This plot is only
events where the pedestal subtracted integral is negative:</div>
<div><br>
</div>
<div><img apple-width="yes" apple-height="yes" apple-inline="yes" id="AE89548B-BFB6-4387-A6EB-0D07DA5B9C27" height="382" width="640" src="cid:part3.06010706.01070905@jlab.org"></div>
<div><br>
</div>
<div>Here are a few events, I can get more if you need. All of
these show a pulse peak just over the threshold for the
offending channel:</div>
<div><br>
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">======================================================================</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---: Parsing
word: <span style="color: #272ad8">81840101</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
Encountered module type: <span style="color: #272ad8">1</span>
(=FADC250)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Header: slot=<span style="color: #272ad8">6</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Event Header: itrigger=<span style="color: #272ad8">1</span>
(objs=<span style="color: #272ad8">0x0</span>, last_itrigger=<span style="color: #272ad8">4294967294</span>, rocid=<span style="color: #272ad8">38</span>, slot=<span style="color:
#272ad8">6</span>)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
9ba2a134 FADC250 Trigger Time: t=<span style="color: #272ad8">10658100</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
bb000920 FADC250 Pulse Integral: chan=<span style="color:
#272ad8">6</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">2336</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
be800862 FADC250 Pulse Integral: chan=<span style="color:
#272ad8">13</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">2146</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c3000330 FADC250 Pulse Time: chan=<span style="color: #272ad8">6</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">816</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d306406b FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">6</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">100</span> pulse_peak=<span style="color: #272ad8">107</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c68009a0 FADC250 Pulse Time: chan=<span style="color: #272ad8">13</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">2464</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d686506a FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">13</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">101</span> pulse_peak=<span style="color: #272ad8">106</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Event Trailer, Data not Valid, or Filler word (<span style="color: #272ad8">15</span>)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Trailer</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">11</span>:<span style="color: #272ad8">39</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---: Finished
parsing (last word: 8980000c)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">=======================================================================================</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---: Parsing
word: <span style="color: #272ad8">81840401</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
Encountered module type: <span style="color: #272ad8">1</span>
(=FADC250)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Header: slot=<span style="color: #272ad8">6</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Event Header: itrigger=<span style="color: #272ad8">4</span>
(objs=<span style="color: #272ad8">0x0</span>, last_itrigger=<span style="color: #272ad8">4294967294</span>, rocid=<span style="color: #272ad8">38</span>, slot=<span style="color:
#272ad8">6</span>)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
9ba3a415 FADC250 Trigger Time: t=<span style="color: #272ad8">10724373</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
bb8005f8 FADC250 Pulse Integral: chan=<span style="color:
#272ad8">7</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">1528</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
bd000aa0 FADC250 Pulse Integral: chan=<span style="color:
#272ad8">10</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">2720</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
bd80180c FADC250 Pulse Integral: chan=<span style="color:
#272ad8">11</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">6156</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c38006e0 FADC250 Pulse Time: chan=<span style="color: #272ad8">7</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">1760</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d386406b FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">7</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">100</span> pulse_peak=<span style="color: #272ad8">107</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c500022d FADC250 Pulse Time: chan=<span style="color: #272ad8">10</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">557</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d506406a FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">10</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">100</span> pulse_peak=<span style="color: #272ad8">106</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c5800a8c FADC250 Pulse Time: chan=<span style="color: #272ad8">11</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">2700</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d586706e FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">11</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">103</span> pulse_peak=<span style="color: #272ad8">110</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">18</span>:<span style="color: #272ad8">02</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Trailer</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">=========================================================================================</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---: Parsing
word: <span style="color: #272ad8">81040501</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
Encountered module type: <span style="color: #272ad8">1</span>
(=FADC250)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Header: slot=<span style="color: #272ad8">4</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Event Header: itrigger=<span style="color: #272ad8">5</span>
(objs=<span style="color: #272ad8">0x0</span>, last_itrigger=<span style="color: #272ad8">4294967294</span>, rocid=<span style="color: #272ad8">40</span>, slot=<span style="color:
#272ad8">4</span>)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
9ba3eab7 FADC250 Trigger Time: t=<span style="color: #272ad8">10742455</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
ba000d10 FADC250 Pulse Integral: chan=<span style="color:
#272ad8">4</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">3344</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c200036a FADC250 Pulse Time: chan=<span style="color: #272ad8">4</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">874</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d206506a FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">4</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">101</span> pulse_peak=<span style="color: #272ad8">106</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Trailer</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">=========================================================================================</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---: Parsing
word: <span style="color: #272ad8">82040501</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
Encountered module type: <span style="color: #272ad8">1</span>
(=FADC250)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Header: slot=<span style="color: #272ad8">8</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Event Header: itrigger=<span style="color: #272ad8">5</span>
(objs=<span style="color: #272ad8">0x0</span>, last_itrigger=<span style="color: #272ad8">4294967294</span>, rocid=<span style="color: #272ad8">38</span>, slot=<span style="color:
#272ad8">8</span>)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
9ba3eab6 FADC250 Trigger Time: t=<span style="color: #272ad8">10742454</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
ba0013b7 FADC250 Pulse Integral: chan=<span style="color:
#272ad8">4</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">5047</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c2000240 FADC250 Pulse Time: chan=<span style="color: #272ad8">4</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">576</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d206406a FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">4</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">100</span> pulse_peak=<span style="color: #272ad8">106</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Trailer</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">==========================================================================================</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;
min-height: 13px;"><br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---: Parsing
word: <span style="color: #272ad8">82040501</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
Encountered module type: <span style="color: #272ad8">1</span>
(=FADC250)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Header: slot=<span style="color: #272ad8">8</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Event Header: itrigger=<span style="color: #272ad8">5</span>
(objs=<span style="color: #272ad8">0x0</span>, last_itrigger=<span style="color: #272ad8">4294967294</span>, rocid=<span style="color: #272ad8">41</span>, slot=<span style="color:
#272ad8">8</span>)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
9ba3eab6 FADC250 Trigger Time: t=<span style="color: #272ad8">10742454</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
bb8012ef FADC250 Pulse Integral: chan=<span style="color:
#272ad8">7</span> pulse_number=<span style="color: #272ad8">0</span>
sum=<span style="color: #272ad8">4847</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
c38002b5 FADC250 Pulse Time: chan=<span style="color: #272ad8">7</span>
pulse_number=<span style="color: #272ad8">0</span> pulse_time=<span style="color: #272ad8">693</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
d386306a FADC250 Pulse Pedestal chan=<span style="color:
#272ad8">7</span> pulse_number=<span style="color: #272ad8">0</span>
pedestal=<span style="color: #272ad8">99</span> pulse_peak=<span style="color: #272ad8">106</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thu
Aug <span style="color: #272ad8">20</span> <span style="color: #272ad8">13</span>:<span style="color:
#272ad8">20</span>:<span style="color: #272ad8">36</span> <span style="color: #272ad8">2015</span> # thr=<span style="color:
#272ad8">140512417244928</span> # --- EVIO ---:
FADC250 Block Trailer</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Mike</div>
<div><br>
<div>
<div>On Aug 20, 2015, at 12:10 PM, Ed Jastrzembski <<a moz-do-not-send="true" href="mailto:jastrzem@jlab.org"></a><a class="moz-txt-link-abbreviated" href="mailto:jastrzem@jlab.org">jastrzem@jlab.org</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Hai and I are currently discussing your results. It
would be useful if you can print out data for at least
20 of the anomalous events (e.g. integral < 4000).
(Just the channel in question, not the entire
board/crate.) <br>
<br>
We would like to see a scatterplot of pulse integral vs
time (with no cuts on time). To make things clearer,
create a 2nd such scatterplot with events that report
only ONE integral and ONE time (i.e. one pulse). <br>
<br>
In terms of the integration: The integration continues
to NSA samples after TC. The exception is when that
would take it beyond the window end. In that case, the
integration stops at the last sample of the window.<br>
<br>
Please give us the firmware versions of the FPGAs.<br>
<br>
How many counts above the baseline is the threshold set?<br>
<br>
- Ed J.<br>
<br>
<br>
On 8/18/2015 10:52 AM, Michael Staib wrote:<br>
</div>
<blockquote cite="mid:F7CB0E47-4973-4470-9AE4-9E63CC102AA3@andrew.cmu.edu" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi Ed, Hai,
<div><br>
</div>
<div>I have been looking at comparing some of our
results in Hall D using the f250 algorithms in mode 8
and mode 7. Mode 7 is showing some peculiar behavior,
particularly with respect to the integral returned
from the flash algorithms. I have been looking at data
where the window was 100 samples long, NSB is 5 and
NSA is 55. In regions of time where I expect the full
integration window to be available within the sample
window, the integral of the signal is often lower than
it should be. The baseline is ~100 ADC counts so the
integral over the full window of 60 samples should be
~6000. I see some integral values as low as 1100 even
at times when I expect 60 samples to be available.
This leads me to believe one of two things is
happening in the mode 7 data:</div>
<div><br>
</div>
<div>
<ol class="MailOutline">
<li>The integral calculation is bailing due to some
condition and not returning an associated error.
Does the integration window <u>always</u>
continue to NSA after TC or can it be cut off by
some condition and bail?</li>
<li>The time reported is wrong.</li>
</ol>
<div><br>
</div>
</div>
<div>As for number 2, I was wondering where the search
for V_mid begins in the search for the first pulse?
Does it begin at the beginning of the window or does
it begin NSB samples before TC? If it starts at the
beginning of the window, one can imagine a problem
when V_mid is less than V_threshold for small pulses
coming late in the window. V_mid may occur very early
while the threshold crossing was much later. I have
been able to qualitatively reproduce what we are
seeing below by emulating problems like 1 and 2 above
using the raw data in mode 8, but it will probably be
easier to track this down directly from the source. I
have looked through the algorithm description
document, and haven’t found the answers I am looking
for.</div>
<div><br>
</div>
<div>Hopefully you guys have some input?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Mike Staib</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div></blockquote></div><br></div></body></html>