<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Hi,</div>
<div class=""><br class="">
</div>
I took another look at this. My current suspicion is that the data from the f250 may be corrupted.
<div class="">I re-ran it with one parsing thread and verbosity turned up to 8 to see the full details. Specifically:</div>
<div class=""><br class="">
</div>
<div class=""><font face="Courier" class="">hd_ana -PEVIO:NTHREADS=1 -PEVIO:VERBOSE=8 -PAUTOACTIVATE=DBCALHit /gluex/data/rawdata/all/Run070822/hd_rawdata_070822_000.evio</font></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">The few lines printed before the error were:</div>
<div class=""><br class="">
</div>
<div class=""><font face="Courier" class=""> FADC250 Pulse Data (0xc8d58193) channel=11 pedestal=403 event within block=26<br class="">
FADC250 Pulse Data word 2(0x40b3800e) integral=2872<br class="">
FADC250 Pulse Data word 3(0x4130380) course_time=32 fine_time=38 pulse_peak=112<br class="">
FADC250 Pulse Data (0xc8dd0191) channel=10 pedestal=401 event within block=27<br class="">
FADC250 Pulse Data word 2(0x40bba016) integral=3002<br class="">
FADC250 Pulse Data word 3(0x41003c8) course_time=32 fine_time=32 pulse_peak=121<br class="">
JANA ERROR>>Bad f250 Pulse Data for rocid=37 slot=8 channel=10<br class="">
JANA ERROR>><br class="">
JANA ERROR>>?JException: code = 0 text = Bad f250 Pulse Data!<br class="">
JANA ERROR>><br class="">
JANA ERROR>>File: libraries/DAQ/<a href="http://DEVIOWorkerThread.cc" class="">DEVIOWorkerThread.cc</a>, Line: 1504<br class="">
</font><br class="">
<br class="">
There’s only 2 ways to get the "Bad f250 Pulse Data for rocid=…” line printed:</div>
<div class=""><br class="">
</div>
<div class="">1. If there is a mode 9 continuation word (bit 31 not set) immediately followed by a word that does not have bit 30 set. </div>
<div class="">2. There is a 4th continuation word with bit 31 not set, but bit 30 set immediately following continuation word 3 that</div>
<div class="">has bit 31 and bit 30 both not set.</div>
<div class=""><br class="">
</div>
<div class="">From what I see in the documentation, neither of these should ever happen. Perhaps there was a firmware change</div>
<div class="">that I’m unaware of that allows this(?).</div>
<div class=""><br class="">
</div>
<div class="">If I turn off parsing of f250 data via the -PEVIOPARSE_F250=0 arg then it seems to go through the rest of the </div>
<div class="">file OK. This suggests that CODA formatting is OK and the other types of modules are all also OK.</div>
<div class=""><br class="">
</div>
<div class="">Is this any chance a new firmware version is on the BCAL fADC250 that introduced a new bug?</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Regards,<br class="">
-David<br class="">
<br class="">
-------------------------------------------------------------<br class="">
David Lawrence Ph.D.<br class="">
Staff Scientist, Thomas Jefferson National Accelerator Facility<br class="">
Newport News, VA<br class="">
<a href="mailto:davidl@jlab.org" class="">davidl@jlab.org</a><br class="">
(757) 269-5567 W<br class="">
(757) 746-6697 C<br class="">
<br class="">
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Dec 7, 2019, at 8:32 PM, David Lawrence <<a href="mailto:davidl@jlab.org" class="">davidl@jlab.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I see same error on file 000. Too tired to make sense of it tonight. Will have as look tomorrow.
<div class=""><br class="">
</div>
<div class="">I can say that it looks like the entire 20GB file has been copied to tape correctly so it is not as</div>
<div class="">file truncation issue.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Regards,<br class="">
-David<br class="">
<br class="">
-------------------------------------------------------------<br class="">
David Lawrence Ph.D.<br class="">
Staff Scientist, Thomas Jefferson National Accelerator Facility<br class="">
Newport News, VA<br class="">
<a href="mailto:davidl@jlab.org" class="">davidl@jlab.org</a><br class="">
(757) 269-5567 W<br class="">
(757) 746-6697 C<br class="">
<br class="">
</div>
</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Dec 7, 2019, at 2:26 PM, Naomi Jarvis <<a href="mailto:nsj@cmu.edu" class="">nsj@cmu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">File 001 from that same run is OK so far. Haven't reached the end of it but it didn't fail instantly like file 000 did, so that's hopeful.
<div class=""><br class="">
</div>
<div class="">Naomi.</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Dec 7, 2019 at 2:18 PM Beni Zihlmann <<a href="mailto:zihlmann@jlab.org" class="">zihlmann@jlab.org</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" class=""><font face="Helvetica, Arial, sans-serif" class="">Hi Naomi,<br class="">
<br class="">
rocid=37 BCAL fADC250 S1-3-TOP BCAL7 rocBCAL7</font><br class="">
<br class="">
I just run over _000.evio and it looks like the file is corrupted or something. my code just quits showing only 3 events<br class="">
However with file *_001.evio it works.<br class="">
<br class="">
I do this on ifarm1801<br class="">
<br class="">
<br class="">
<br class="">
<div class="">On 12/7/19 2:10 PM, Naomi Jarvis wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class="">Hi,
<div class=""><br class="">
</div>
<div class="">I already have the current master of halld_recon and the latest ccdb and rcdb. Do I need to update anything else in order to run hd_root over the newest data? I'm seeing the error pasted below for just one of the new evio files, the file following
it looks ok so far (I haven't reached the end of it yet). I cannot remember what owns rocid 37. </div>
<div class=""><br class="">
</div>
<div class="">Naomi.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA >>Opening source "/raid12/gluex/rawdata2/Run070822/hd_rawdata_070822_000.evio" of type: EVIOpp<span class="">
</span>- Reads EVIO formatted data from file or ET system</span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">loading VERSION 3</span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA >>Control event: Prestart - Fri Dec<span class="">
</span>6 20:24:21 2019</span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA >>Control event: Go - Fri Dec<span class="">
</span>6 20:25:22 2019</span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214); min-height: 15px;" class="">
<span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214); min-height: 15px;" class="">
<span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA ERROR>>Bad f250 Pulse Data for rocid=37 slot=8 channel=10)<span class=""> </span></span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA ERROR>></span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA ERROR>>?JException:<span class="">
</span>code = 0<span class=""> </span>text = Bad f250 Pulse Data!</span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA ERROR>></span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA ERROR>>File: libraries/DAQ/<a href="http://devioworkerthread.cc/" class="">DEVIOWorkerThread.cc</a>,
<span class=""> </span>Line: 1498</span></div>
<div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; background-color: rgb(177, 236, 214);" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">JANA >></span></div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<fieldset class=""></fieldset>
<pre class="">_______________________________________________
Halld-offline mailing list
<a href="mailto:Halld-offline@jlab.org" target="_blank" class="">Halld-offline@jlab.org</a>
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" target="_blank" class="">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></pre>
</blockquote>
<br class="">
</div>
_______________________________________________<br class="">
Halld-offline mailing list<br class="">
<a href="mailto:Halld-offline@jlab.org" target="_blank" class="">Halld-offline@jlab.org</a><br class="">
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" rel="noreferrer" target="_blank" class="">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></blockquote>
</div>
_______________________________________________<br class="">
Halld-offline mailing list<br class="">
<a href="mailto:Halld-offline@jlab.org" class="">Halld-offline@jlab.org</a><br class="">
<a href="https://mailman.jlab.org/mailman/listinfo/halld-offline" class="">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></div>
</blockquote>
</div>
<br class="">
</div>
</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="">
</div>
</body>
</html>