<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am assuming the Bank Tags you are essentially talking about are those that you define inside your readout lists for readout of raw data.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
While it would be good to avoid the CODA "reserved" Bank Tags in general, if you decide you just have to use a subset for some internal indentification this will not really be a problem for CODA since your tags are effectively buried within the ROC Banks. This
will not break anything that CODA needs as we do not look into the User data in any way during the online DAQ or for EVIO file writing or decoding.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
David<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<meta content="text/html; charset=UTF-8">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0">-----</p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">David Abbott</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">Jefferson Lab</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">Suite #10</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">12000 Jefferson Avenue</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">Newport News, VA 23606</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">email: abbottd@jlab.org</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">Tel: (757) 269-7190 Fax: (757) 269-6331</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span style="font-size:12pt">------------------------------------------------------</span><br>
</p>
</div>
</div>
</div>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Sbs_daq <sbs_daq-bounces@jlab.org> on behalf of Benjamin Raydo <braydo@jlab.org><br>
<b>Sent:</b> Tuesday, July 6, 2021 10:56 AM<br>
<b>To:</b> David Flay <flay@jlab.org>; Alexandre Camsonne <camsonne@jlab.org>; sbs_daq@jlab.org <sbs_daq@jlab.org><br>
<b>Subject:</b> Re: [Sbs_daq] [EXTERNAL] Bank numbering guideline for SBS</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
There are some reserved bank tags you need to avoid:<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<img size="64583" tabindex="-1" style="max-width: 100%; height: auto;" data-outlook-trace="F:2|T:2" src="cid:1418a687-8b2a-4edf-964a-08b21926580f"><br>
</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Sbs_daq <sbs_daq-bounces@jlab.org> on behalf of David Flay <flay@jlab.org><br>
<b>Sent:</b> Tuesday, July 6, 2021 10:54 AM<br>
<b>To:</b> Alexandre Camsonne <camsonne@jlab.org>; sbs_daq@jlab.org <sbs_daq@jlab.org><br>
<b>Subject:</b> Re: [Sbs_daq] [EXTERNAL] Bank numbering guideline for SBS</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Hi Alex,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
In the analyzer, ~/hana_decode/Decoder.h, we have:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="font-family:Consolas,Courier,monospace">namespace Decoder { </span></div>
<div style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<font face="Consolas, Courier, monospace"><span style="font-family:Consolas,Courier,monospace">...</span></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="font-family:Consolas,Courier,monospace">static const int MAXBANK = (1<<16)-1; // = 65535</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="font-family:Consolas,Courier,monospace">...</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="font-family:Consolas,Courier,monospace">}</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div>
<div id="x_x_Signature">
<div>
<div></div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
David </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<div style="margin:0px; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<span style="margin:0px">----------------------------------------------------------------</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
David Flay, Ph. D.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hall A/C Staff Scientist</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thomas Jefferson National Accelerator Facility</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">----------------------------------------------------------------</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important"><br>
<br>
</span></div>
</div>
</div>
</div>
<div id="x_x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Sbs_daq <sbs_daq-bounces@jlab.org> on behalf of Alexandre Camsonne <camsonne@jlab.org><br>
<b>Sent:</b> Tuesday, July 6, 2021 9:43 AM<br>
<b>To:</b> sbs_daq@jlab.org <sbs_daq@jlab.org><br>
<b>Subject:</b> [Sbs_daq] [EXTERNAL] Bank numbering guideline for SBS</font>
<div> </div>
</div>
<div class="x_x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_x_PlainText">Hi all,<br>
<br>
the bank number can be a random number, for simplification I would<br>
like people use the same number for bank number as the model number in<br>
the analyzer database, so by default the decoder would first try to<br>
look for the model corresponding to the bank number and if it does not<br>
seem to correspond it could use a model number from the cratemap.<br>
<br>
So if you read out list has a random bank number, could you make sure<br>
it is changed to match the model number so when we start taking data<br>
it will be consistent for all the detector subsystems.<br>
<br>
Does anyone know what is maximum limit on bank number value ?<br>
<br>
Thank you,<br>
<br>
Alexandre<br>
_______________________________________________<br>
Sbs_daq mailing list<br>
Sbs_daq@jlab.org<br>
<a href="https://mailman.jlab.org/mailman/listinfo/sbs_daq">https://mailman.jlab.org/mailman/listinfo/sbs_daq</a><br>
</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>