<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="">Hi Ben,<div class="">thanks. I see in the output banks there is a RC26 bank, containing data from the crate where the TS was. </div><div class=""><br class=""></div><div class="">However, don’t know if output data from this bank contains this information. I print here what I get from HEAD, TGBI, RC26 banks from one event:</div><div class=""><br class=""></div><div class="">Group:  HEAD    Sector: 0       Nhits:  1       Next ind:       0<br class=""><br class="">Version:        0<br class="">Run:            56541<br class="">Event:          2969<br class="">Type:           1  (physics data)<br class="">ROC:            0<br class="">CLASS:          14<br class="">Trgbit:         0x5018<br class="">TIME:           Thu May 21 18:02:01 2144<br class=""><br class=""><br class="">Group:  RC26    Sector: 0       Nhits:  4       Next ind:       0<br class="">Trigger Pattern: 18  Gated Scaler: 52929  Ungated Scaler: 171067<br class="">Trigger Pattern: 0  Gated Scaler: 2  Ungated Scaler: 53<br class="">Trigger Pattern: 20304344  Gated Scaler: 1  Ungated Scaler: 1175<br class="">Trigger Pattern: 35  Gated Scaler: 358096021  Ungated Scaler: 230760015<br class=""><br class="">Group:  TGBI    Sector: 0       Nhits:  1       Next ind:       0<br class="">latch1: 5018  helicity_scaler: 90  interrupt_time: 3055511  latch2: 0</div><div class=""><br class=""></div><div class="">It looks that RC26 first entry (18) is then reported in the TGPI latch1, that in turns is put in Head (this is true for all events). I don’t know about other entries in RC26.</div><div class=""><br class=""></div><div class="">Bests,</div><div class=""><br class=""></div><div class="">Andrea</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 18, 2019, at 18:24, Benjamin Raydo <<a href="mailto:braydo@jlab.org" class="">braydo@jlab.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; 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; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi Andrea,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I talked with Ed to confirm: if the L1 bit is disabled at the TS then the trigger word pattern in the event will have 0's for those bits. He mentioned there is a TS register that could be read to get the trigger bit pattern regardless of enabled/disabled, but it would have had to been read and written in the event (so there's a good chance you don't have this - maybe Sergey recalls differently and can let you know).</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Ben<br class=""></div></div><hr tabindex="-1" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; display: inline-block; width: 991.75px;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; float: none; display: inline !important;" class=""></span><div id="divRplyFwdMsg" dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Andrea Celentano <<a href="mailto:andrea.celentano@ge.infn.it" class="">andrea.celentano@ge.infn.it</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Monday, February 18, 2019 11:07:14 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Benjamin Raydo<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>g12; Sergey Boyarinov<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: g12 triggers</font><div class=""> </div></div><div class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; line-break: after-white-space;">Hi Ben,<div class="">thanks! Concerning this bit 8, in the file:</div><div class=""><br class=""></div><div class="">/usr/clas/parms/trigger/config/g12/g12_LUT_L2_102212.cfg (that should be the “good” one used in g12), in line 145 I see that bit8 (at level1) was disabled. All the others were enabled.</div><div class=""><br class=""></div><div class="">Concerning the single sector, in the file:</div><div class=""><br class=""></div><div class="">/usr/clas/parms/trigger/config/g12/g12_LUT_single_sector.cfg</div><div class=""><br class=""></div><div class="">in the line 144 I see that bits 7,8,9 were disabled.</div><div class=""><br class=""></div><div class="">Therefore, maybe what I see in the data files is ok (unless disabled means that they’re still reported in the output bank but not enabled to trigger readout).</div><div class=""><br class=""></div><div class="">Thanks </div><div class=""><br class=""></div><div class="">Andrea<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Feb 18, 2019, at 17:03, Benjamin Raydo <<a href="mailto:braydo@jlab.org" class="">braydo@jlab.org</a>> wrote:</div><br class="x_Apple-interchange-newline"><div class=""><div id="x_divtagdefaultwrapper" dir="ltr" class="" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;"><div class="" style="margin-top: 0px; margin-bottom: 0px;">Hi Andrea,</div><div class="" style="margin-top: 0px; margin-bottom: 0px;"><br class=""></div><div class="" style="margin-top: 0px; margin-bottom: 0px;">I'll have a chance to look at this with Sergey & Valery this week. I have some guesses, but need to dig into more details to refresh my memory on this first.</div><div class="" style="margin-top: 0px; margin-bottom: 0px;"><br class=""></div><div class="" style="margin-top: 0px; margin-bottom: 0px;">Thanks,<br class=""></div><div class="" style="margin-top: 0px; margin-bottom: 0px;">Ben<br class=""></div></div><hr tabindex="-1" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; display: inline-block; width: 991.75px;"><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; float: none; display: inline !important;"></span><div id="x_divRplyFwdMsg" dir="ltr" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;"><font face="Calibri, sans-serif" class="" style="font-size: 11pt;"><b class="">From:</b><span class="x_Apple-converted-space"> </span>Andrea Celentano <<a href="mailto:andrea.celentano@ge.infn.it" class="">andrea.celentano@ge.infn.it</a>><br class=""><b class="">Sent:</b><span class="x_Apple-converted-space"> </span>Monday, February 18, 2019 10:46:04 AM<br class=""><b class="">To:</b><span class="x_Apple-converted-space"> </span>g12<br class=""><b class="">Cc:</b><span class="x_Apple-converted-space"> </span>Sergey Boyarinov; Benjamin Raydo<br class=""><b class="">Subject:</b><span class="x_Apple-converted-space"> </span>Re: g12 triggers</font><div class=""> </div></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;">Dear g12,<div class="">had anyone any change to look at this? Furthermore, I see other inconsistencies in the g12 trig table (table 3 in the note). For example, I never see trigger bit 8, that a part from L2, should be the same as trigger bit 1.</div><div class="">I see this effect also in MK thesis (fig. 93 pag 140) - trigger bit 2 is ON for some events, while trigger bit 8 is always OFF.</div><div class=""><br class=""></div><div class="">Thanks</div><div class="">Andrea</div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Feb 14, 2019, at 16:49, Andrea Celentano <<a href="mailto:andrea.celentano@ge.infn.it" class="">andrea.celentano@ge.infn.it</a>> wrote:</div><br class="x_x_Apple-interchange-newline"><div class=""><div bgcolor="#FFFFFF" class="">Dear g12,<br class="">I am looking at the trigger efficiency of trigger bit #5 (STxTOF x (ECPx2)).<span class="x_Apple-converted-space"> </span><br class=""><br class="">Before doing so, I wanted to do some checks on the way trigger bits were reported in the output banks.<span class="x_Apple-converted-space"> </span><br class="">I have taken from tape a single file from run 56541 (file A00), and I opened it via bosdump, printing HEAD, TGBI and RC26 banks.<br class=""><br class="">According to g12 note (table 2 pag. 5), for this run trigger bits 1..6 are MORA x (STxTOF)_i x (STxTOF), without any prescale and without L2.<br class="">Trigger bit 8 is MORA x (STxTOF)x2.<br class=""><br class="">Therefore, for any event with one of trigger bits 1..6 set, trigger bit 8 should also be present (for example, if trigger bit 1 is set, it means that MORA is TRUE, and that there are two sectors with STxTOF, one of which is sector #1: trigger bit 8 is also satisfied for this event).<br class=""><br class="">However, this is not the case for the events I am scrutinizing. I report to you some events showing this issue. I also CC this to Sergey and Ben, so that they can provide further input to the discussion.<br class=""><br class=""><br class=""><b class="">EVENT:</b><br class="">Version:        0<br class="">Run:            56541<br class="">Event:          858<br class="">Type:           1  (physics data)<br class="">ROC:            0<br class="">CLASS:          14<br class="">Trgbit:         0x5405        --> bit 1, bit 3, bit 11, bit 13, bit 15. By the way, what are trigger bit 13 and 15? They are not reported in table 2.<br class="">TIME:           Thu May 21 18:02:01 2144<br class=""><br class=""><b class="">EVENT:</b><br class="">Version:        0<br class="">Run:            56541<br class="">Event:          853<br class="">Type:           1  (physics data)<br class="">ROC:            0<br class="">CLASS:          14<br class="">Trgbit:         0x8c20     --> bit 6, bit 11, bit 12, bit 16. By the way, what is trigger bit 16? This is not reported in table 2.<br class="">TIME:           Thu May 21 18:02:01 2144<br class=""><br class=""><b class="">EVENT:<br class=""></b>Version:        0<br class="">Run:            56541<br class="">Event:          947<br class="">Type:           1  (physics data)<br class="">ROC:            0<br class="">CLASS:          14<br class="">Trgbit:         0x5c15  --> bit 1, bit 3, bit 5, bit 11, bit 12, bit 13, bit 15. By the way, what is trigger bit 15? This is not reported in table 2.<br class="">TIME:           Thu May 21 18:02:01 2144<b class=""><br class=""><br class=""><br class=""></b>Thanks,<br class="">Andrea</div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>