BNMR: Histograms and Scalers: Difference between revisions
en>Suz mNo edit summary |
en>Suz mNo edit summary |
||
Line 8: | Line 8: | ||
</div> | </div> | ||
== | == Cycle Scalers == | ||
In the [[BNMR: frontend|frontend]], data | In the [[BNMR: frontend|frontend]], data read from the VME scaler(s) (SIS3801 or SIS3820) after each PPG cycle (known as ''Cycle Scaler Data''). | ||
The data consists of arrays containing the counts in each time bin for each active input channel. The cycle scaler data are read into | |||
[[#Frontend Histograms|histograms]]. | |||
The | Also the data from each scaler channel are summed, and assymmetries and ratios are calculated. The Cycle Scaler data sums and calculated data are output as MIDAS bank HSCL, and sent to the ODB under {{Odbpath|path=/Equipment/Cycle_Scalers}}. | ||
For {{bnmr}}, the Front and Back Cycle data sums (Scaler A) are added together and used to check against the threshold. For {{bnqr}} sums of the Neutral Beam counters are used for thresholds. | |||
=== Scaler Channels : Hardware Connections | == Frontend Histograms == | ||
The number of frontend histograms into which the scaler data are saved is greater than the number of active scaler channels. For example, some scaler data are saved in separate histograms according to the helicity. In the case of Type 1 runs, the histograms are sent out every cycle, whereas for Type 2 the histograms are accumulated in the frontend memory, and sent out every few minutes. A data logger running on the host computer saves the data onto disk. The data is handled differently for Type 1 and Type 2 runs. For Type 1 runs, the data are saved in a MIDAS file by the MIDAS logger [https://midas.triumf.ca/MidasWiki/index.php/Mlogger|mlogger], and converted to MUD format by the custom logger [[BNMR: mdarc|mdarc]]. For Type 2 runs, [[BNMR: mdarc|mdarc]] saved the data directly in a MUD file, and no MIDAS file is produced. | |||
The histograms and data logging will therefore be described separately for Type 1 and Type 2 runs. | |||
== Scaler Channels : Hardware Connections == | |||
Currently, | Currently, | ||
* experiment <span style="color:#7b68ee; font-style=italic">bnmr</span> has two SIS3801 scalers | * experiment <span style="color:#7b68ee; font-style=italic">bnmr</span> has two SIS3801 scalers known as ''Scaler A'' and ''Scaler B'' | ||
* experiment <span style="color:#20b2aa; font-style=italic">bnqr</span> has one SIS3820 scaler | * experiment <span style="color:#20b2aa; font-style=italic">bnqr</span> has one SIS3820 scaler, ''Scaler B'' | ||
<div id="sis3820_note"></div> | <div id="sis3820_note"></div> | ||
Line 24: | Line 32: | ||
: The sis3820 scaler is needed for <span style="color:#20b2aa; font-style=italic">bnqr</span> alpha mode as it has a larger buffer and greater resolution. | : The sis3820 scaler is needed for <span style="color:#20b2aa; font-style=italic">bnqr</span> alpha mode as it has a larger buffer and greater resolution. | ||
=== BNMR === | |||
{| style="text-align: left; width: 80%; background-color: #e6e6ff;" border="3" cellpadding="2" cellspacing="2" | {| style="text-align: left; width: 80%; background-color: #e6e6ff;" border="3" cellpadding="2" cellspacing="2" | ||
|+ Table 1 : BNMR Scaler A Channels | |+ Table 1 : BNMR Scaler A Channels | ||
Line 59: | Line 67: | ||
=== BNQR === | |||
{| style="text-align: left; width: 80%; background-color: #b3ffff;" border="3" cellpadding="2" cellspacing="2" | {| style="text-align: left; width: 80%; background-color: #b3ffff;" border="3" cellpadding="2" cellspacing="2" | ||
|+ Table 3 : BNQR Scaler B Channels | |+ Table 3 : BNQR Scaler B Channels | ||
Line 88: | Line 96: | ||
== Midas histograms built in the frontend == | == Midas histograms built in the frontend == | ||
Histograms are built in the frontend (VMIC) using the data from the Scalers - see [[#Front-end histograms and Cycle Scalers|Cycle Scalers]].<br> | |||
The scaler inputs are listed in [[#Scaler Channels : Hardware Connections|scaler connections]]. | |||
=== Type 1 === | === Type 1 Histograms === | ||
<span style= "color:#FF0000"> | Type 1 histograms | ||
<span style= "color:#FF0000">only includes data from last cycle.</span> | |||
==== Scaler A BNMR only ==== | |||
'''Table 4: Scaler A histograms ''' ({{bnmr}} only) | '''Table 4: Scaler A histograms ''' ({{bnmr}} only) | ||
Line 141: | Line 153: | ||
</table> | </table> | ||
==== Scaler B BNMR only ==== | |||
The Type 2 histograms built from data from Scaler B are shown in Table 5. | |||
'''Table 5 : Scaler B histograms''' ({{bnmr}}) | '''Table 5 : Scaler B histograms''' ({{bnmr}}) | ||
Line 226: | Line 240: | ||
'''Total number of histograms from both scalers: 9 ''' {{bnmr}} | '''Total number of histograms from both scalers: 9 ''' {{bnmr}} | ||
==== Scaler B BNQR only ==== | |||
The Type 2 histograms built for {{bnqr}} from data from Scaler B are shown in Table 6. For Alpha Mode (1h) only, four extra histograms are built containing the data from the Alpha counters. | |||
'''Table 6 : Scaler B histograms''' ({{bnqr}}) | '''Table 6 : Scaler B histograms''' ({{bnqr}}) | ||
Line 322: | Line 338: | ||
<!-- Alpha Mode --> | <!-- Alpha Mode (1h) --> | ||
<tr><td colspan=3 style="font-weight:bold; text-align:center; background-color:#94b8b8;"> Alpha mode (1h) only</td></tr> | <tr><td colspan=3 style="font-weight:bold; text-align:center; background-color:#94b8b8;"> Alpha mode (1h) only</td></tr> | ||
<tr style="background-color:#94b8b8;"> | <tr style="background-color:#94b8b8;"> | ||
Line 390: | Line 406: | ||
=== Type 2 === | === Type 2 Histograms === | ||
For Type 2 (TD style), Midas histograms are built in the PPC frontend. | |||
<p><font color="#FF0000">Histograms accumulate through the run</font> and are sent periodically | |||
to be saved by the data logger [[BNMR: mdarc|mdarc]]. | |||
==== Scaler A BNMR only ==== | |||
The histograms built with data from Scaler A are shown in Table 7. Note that the fifth histogram (userbits) is built | |||
in the frontend for BNMR Mode 2s only. | |||
'''Table 7: Scaler A histograms ''' ({{bnmr}} only) | '''Table 7: Scaler A histograms ''' ({{bnmr}} only) | ||
<table BORDER COLS=6 WIDTH=50% style="background-color: #e6e6ff;" NOSAVE > | <table BORDER COLS=6 WIDTH=50% style="background-color: #e6e6ff;" NOSAVE > | ||
Line 409: | Line 425: | ||
<td>Helicity </td> | <td>Helicity </td> | ||
<td> | <td> | ||
Line 427: | Line 439: | ||
<td>1</td> | <td>1</td> | ||
<td>HIBP</td> | <td>HIBP</td> | ||
Line 438: | Line 448: | ||
<td>1</td> | <td>1</td> | ||
<td>HIFP</td> | <td>HIFP</td> | ||
Line 450: | Line 458: | ||
<td>0</td> | <td>0</td> | ||
<td>HIBN</td> | <td>HIBN</td> | ||
Line 462: | Line 468: | ||
<td>0</td> | <td>0</td> | ||
<td>HIFN</td> | <td>HIFN</td> | ||
<td>F-</td> | <td>F-</td> | ||
<tr style="text-align:center;"> | |||
<td>Userbits</td> | |||
<td>n/a</td> | |||
<td>USER</td> | |||
<td></td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
==== Scaler B BNMR and BNQR ==== | |||
The following histograms using data from Scaler B are sent out for {{bnmr}} and all {{bnqr}} modes except | |||
for Sample/Reference and Alpha Modes. See | |||
[[#BNQR Sample/Reference Mode|Sample/Reference histograms]] and [[BNQR Alpha Mode (2h)#Alpha Histograms]] for details. | |||
<br>10 Histograms from Scaler B: | |||
<br>Total histograms : 10 for <font color="#33CC00">BNQR</font>, | |||
14 for <font color="#3366FF">BNMR</font> | |||
<br> | |||
'''Table 8: Scaler B histograms ''' ({{bnmr}} and {{bnqr}}) | '''Table 8: Scaler B histograms ''' ({{bnmr}} and {{bnqr}}) | ||
Line 615: | Line 638: | ||
==== Scaler B BNQR Sample/Reference Mode ==== | |||
Some of the modes on BNQR can be run in sample/reference mode. An external signal is alternately turned on/off and the scaler data is sent to a different set of histograms depending on the state of the sample/reference signal. This mode is not supported for {{bnmr}}. | |||
'''Table 9a: Scaler B histograms ''' {{bnqr}} sample/reference | |||
'''Table 9a: Scaler B histograms ''' | <table BORDER COLS=6 WIDTH=50% style="background-color: #b3ffff;"> | ||
<table BORDER COLS= | <tr style="text-align:center; font-weight:bold; background-color: #20b2aa;"> | ||
<tr style="text-align:center;font-weight:bold"> | <td> | ||
Contents | |||
<td>Contents</td> | </td> | ||
<td>Helicity </td> | <td>Helicity </td> | ||
<td> | <td> | ||
<center>Sample/Ref</center> | |||
</td> | |||
<td>Bank Name</td> | <td> | ||
Bank Name | |||
</td> | |||
<td>Histogram Name | <td> | ||
Histogram Name | |||
</td> | |||
</tr> | </tr> | ||
<tr style="text-align:center;"> | <tr style="text-align:center;"> | ||
Line 645: | Line 667: | ||
<td>n/a</td> | <td>n/a</td> | ||
<td> | <td>n/a</td> | ||
<td>HMF1</td> | <td>HMF1</td> | ||
<td>Const</td> | <td>Const</td> | ||
</tr> | </tr> | ||
<tr style="text-align:center;"> | <tr style="text-align:center;"> | ||
Line 667: | Line 679: | ||
<td>n/a</td> | <td>n/a</td> | ||
<td> | <td>n/a</td> | ||
<td>HMF2</td> | <td>HMF2</td> | ||
<td>FluM2</td> | <td>FluM2</td> | ||
</tr> | </tr> | ||
Line 688: | Line 691: | ||
<td>1</td> | <td>1</td> | ||
<td> | <td>R</td> | ||
<td>HMLP</td> | <td>HMLP</td> | ||
<td>L+</td> | <td>L+</td> | ||
</tr> | </tr> | ||
Line 710: | Line 703: | ||
<td>1</td> | <td>1</td> | ||
<td> | <td>R</td> | ||
<td>HMRP</td> | <td>HMRP</td> | ||
<td>R+</td> | <td>R+</td> | ||
</tr> | </tr> | ||
Line 732: | Line 715: | ||
<td>0</td> | <td>0</td> | ||
<td> | <td>R</td> | ||
<td>HMLN</td> | <td>HMLN</td> | ||
<td>L-</td> | <td>L-</td> | ||
</tr> | </tr> | ||
Line 754: | Line 727: | ||
<td>0</td> | <td>0</td> | ||
<td> | <td>R</td> | ||
<td>HMRN</td> | <td>HMRN</td> | ||
<td>R-</td> | <td>R-</td> | ||
</tr> | </tr> | ||
Line 776: | Line 739: | ||
<td>1</td> | <td>1</td> | ||
<td> | <td>R</td> | ||
<td>HMBP</td> | <td>HMBP</td> | ||
<td>NBMB+</td> | <td>NBMB+</td> | ||
</tr> | </tr> | ||
Line 797: | Line 750: | ||
<td>1</td> | <td>1</td> | ||
<td> | <td>R</td> | ||
<td>HMFP</td> | <td>HMFP</td> | ||
<td>NBMF+</td> | <td>NBMF+</td> | ||
</tr> | |||
< | <tr style="text-align:center;"> | ||
<td> Neutral Beam Backwards '''-'''</td> | |||
<td | <td>0</td> | ||
<td | <td>R</td> | ||
<td | <td>HMBN</td> | ||
<td>NBMB-</td> | |||
</tr> | </tr> | ||
<tr style="text-align:center;"> | <tr style="text-align:center;"> | ||
<td> Neutral Beam | <td> Neutral Beam Forwards '''-'''</td> | ||
<td>0</td> | <td>0</td> | ||
<td> | <td>R</td> | ||
<td>HMFN</td> | |||
<td>NBMF-</td> | |||
<!-- Sample --> | |||
<tr style="text-align:center;background-color:#4dffd2;"> | |||
<td>Polarimeter Left '''+'''</td> | |||
<td>1</td> | |||
<td>S</td> | |||
<td> | <td>HMLP</td> | ||
<td> | <td></td> | ||
</tr> | |||
< | <tr style="text-align:center;background-color:#4dffd2;"> | ||
<td>Polarimeter Right '''+'''</td> | |||
<td | <td>1</td> | ||
<td | <td>S</td> | ||
<td | <td>HMRP</td> | ||
<td></td> | |||
</tr> | </tr> | ||
<tr style="text-align:center;"> | <tr style="text-align:center;background-color:#4dffd2;"> | ||
<td> | <td>Polarimeter Left '''-'''</td> | ||
<td>0</td> | <td>0</td> | ||
<td> | <td>S</td> | ||
<td> | <td>HMLN</td> | ||
<td> | <td></td> | ||
</tr> | |||
< | <tr style="text-align:center;background-color:#4dffd2;"> | ||
<td>Polarimater Right '''-'''</td> | |||
<td | <td>0</td> | ||
<td | <td>S</td> | ||
<td | <td>HMRN</td> | ||
<td></td> | |||
</tr> | </tr> | ||
<tr style="text-align:center;background-color:#4dffd2;"> | <tr style="text-align:center;background-color:#4dffd2;"> | ||
<td> | <td> Neutral Beam Backwards '''+'''</td> | ||
<td>1</td> | <td>1</td> | ||
<td> | <td>S</td> | ||
<td> | <td>HMBP</td> | ||
<td></td> | <td></td> | ||
</tr> | </tr> | ||
<tr style="text-align:center;background-color:#4dffd2;"> | <tr style="text-align:center;background-color:#4dffd2;"> | ||
<td> | <td> Neutral Beam Forwards '''+'''</td> | ||
<td>1</td> | <td>1</td> | ||
<td> | <td>S</td> | ||
<td>HMFP</td> | |||
<td></td> | <td></td> | ||
</tr> | </tr> | ||
<tr style="text-align:center;background-color:#4dffd2;"> | <tr style="text-align:center;background-color:#4dffd2;"> | ||
<td> | <td> Neutral Beam Backwards '''-'''</td> | ||
<td>0</td> | <td>0</td> | ||
<td> | <td>S</td> | ||
<td>HSBN</td> | |||
<td></td> | <td></td> | ||
</tr> | </tr> | ||
<tr style="text-align:center;background-color:#4dffd2;"> | <tr style="text-align:center;background-color:#4dffd2;"> | ||
<td> | <td> Neutral Beam Forwards '''-'''</td> | ||
<td>0</td> | <td>0</td> | ||
<td> | <td>S</td> | ||
<td>HSFN</td> | |||
<td></td> | <td></td> | ||
</tr> | </tr> | ||
</table> | |||
==== Scaler B BNQR Alpha Mode (2h) ==== | |||
Alpha Mode (mode 2h) involves very long histograms with a very short bin width. To save space, histograms for the Reference Clock and Fluorescence Monitor are not saved. Furthermore, if the total number of bins requested for all histograms exceeds the maximum event size allowed by MIDAS, the histogram bin size for all histograms will be reduced to 16 bits from 32 (the default). The histograms will be sent out from the frontend in 4 chunks, and reassembled by the data logger (mdarc) before being saved. The histograms sent from the frontend in Alpha Mode are shown in Table 10. Alpha mode is not supported for {{bnmr}}. | |||
<td> | '''Table 10: Scaler B histograms ''' {{bnqr}} Alpha Mode | ||
<table BORDER COLS=6 WIDTH=50% style="background-color: #b3ffff;" NOSAVE > | |||
<tr style="text-align:center;font-weight:bold; background-color: #20b2aa;"> | |||
<td> | |||
Contents | |||
</td> | |||
<td> | <td>Helicity </td> | ||
<td | <td> | ||
Bank Name | |||
</td> | |||
<td | <td> | ||
Histogram Name | |||
</td> | |||
</tr> | |||
< | <tr style="text-align:center;"> | ||
<td>Polarimeter Left '''+'''</td> | |||
<td>1</td> | |||
<td>HMLP</td> | |||
<td>L+</td> | |||
</tr> | </tr> | ||
<tr style="text-align:center | <tr style="text-align:center;"> | ||
<td> | <td>Polarimeter Right '''+'''</td> | ||
<td>1</td> | <td>1</td> | ||
<td> | <td>HMRP</td> | ||
<td>R+</td> | |||
</tr> | |||
<tr style="text-align:center;"> | |||
<td>Polarimeter Left '''-'''</td> | |||
<td> | <td>0</td> | ||
<td></td> | <td>HMLN</td> | ||
<td | <td>L-</td> | ||
</tr> | |||
< | <tr style="text-align:center;"> | ||
<td>Polarimater Right '''-'''</td> | |||
<td | <td>0</td> | ||
<td | <td>HMRN</td> | ||
<td>R-</td> | |||
</tr> | </tr> | ||
<tr style="text-align:center | <tr style="text-align:center;"> | ||
<td> Neutral Beam Backwards ''' | <td> Neutral Beam Backwards '''+'''</td> | ||
<td>1</td> | |||
<td> | <td>HMBP</td> | ||
<td>NBMB+</td> | |||
</tr> | |||
<td> | <tr style="text-align:center;"> | ||
<td> Neutral Beam Forwards '''+'''</td> | |||
<td> | <td>1</td> | ||
<td></td> | <td>HMFP</td> | ||
<td | <td>NBMF+</td> | ||
</tr> | |||
< | <tr style="text-align:center;"> | ||
<td> Neutral Beam Backwards '''-'''</td> | |||
<td | <td>0</td> | ||
<td | <td>HMBN</td> | ||
<td>NBMB-</td> | |||
</tr> | </tr> | ||
<tr style="text-align:center | <tr style="text-align:center;"> | ||
<td> Neutral Beam Forwards '''-'''</td> | <td> Neutral Beam Forwards '''-'''</td> | ||
<td>0</td> | <td>0</td> | ||
<td> | <td>HMFN</td> | ||
<td>NBMF-</td> | |||
</tr> | |||
<tr style="text-align:center;background-color:#94b8b8;"> | |||
<td>Alpha1'''+'''</td> | |||
<td>1</td> | |||
<td> | <td>HA0P</td> | ||
<td></td> | <td></td> | ||
</tr> | |||
< | <tr style="text-align:center;background-color:#94b8b8;"> | ||
<td>Alpha2'''+'''</td> | |||
<td | <td>1</td> | ||
<td | <td>HA1P</td> | ||
<td></td> | |||
</tr> | </tr> | ||
<tr style="text-align:center;background-color:#94b8b8;"> | <tr style="text-align:center;background-color:#94b8b8;"> | ||
<td> | <td>Alpha3'''+'''</td> | ||
<td>1</td> | |||
<td>HA2P</td> | |||
<td></td> | |||
</tr> | |||
<tr style="text-align:center;background-color:#94b8b8;"> | |||
<td>Alpha4'''+'''</td> | |||
<td>1</td> | <td>1</td> | ||
<td> | <td>HA3P</td> | ||
<td></td> | <td></td> | ||
</tr> | |||
<tr style="text-align:center;background-color:#94b8b8;"> | |||
<td>Alpha1'''-'''</td> | |||
<td>0</td> | |||
<td>HA0N</td> | |||
<td></td> | <td></td> | ||
</tr> | |||
< | <tr style="text-align:center;background-color:#94b8b8;"> | ||
<td>Alpha2'''-'''</td> | |||
<td | <td>0</td> | ||
<td | <td>HA1N</td> | ||
<td></td> | |||
</tr> | |||
<tr style="text-align:center;background-color:#94b8b8;"> | |||
<td>Alpha3'''-'''</td> | |||
<td>0</td> | |||
<td>HA2N</td> | |||
<td></td> | |||
</tr> | |||
<tr style="text-align:center;background-color:#94b8b8;"> | |||
<td>Alpha4'''-'''</td> | |||
<td>0</td> | |||
<td>HA3N</td> | |||
<td></td> | |||
</tr> | |||
</table> | </table> | ||
Revision as of 17:10, 6 July 2018
Links
Cycle Scalers
In the frontend, data read from the VME scaler(s) (SIS3801 or SIS3820) after each PPG cycle (known as Cycle Scaler Data). The data consists of arrays containing the counts in each time bin for each active input channel. The cycle scaler data are read into histograms.
Also the data from each scaler channel are summed, and assymmetries and ratios are calculated. The Cycle Scaler data sums and calculated data are output as MIDAS bank HSCL, and sent to the ODB under /Equipment/Cycle_Scalers.
For bnmr, the Front and Back Cycle data sums (Scaler A) are added together and used to check against the threshold. For bnqr sums of the Neutral Beam counters are used for thresholds.
Frontend Histograms
The number of frontend histograms into which the scaler data are saved is greater than the number of active scaler channels. For example, some scaler data are saved in separate histograms according to the helicity. In the case of Type 1 runs, the histograms are sent out every cycle, whereas for Type 2 the histograms are accumulated in the frontend memory, and sent out every few minutes. A data logger running on the host computer saves the data onto disk. The data is handled differently for Type 1 and Type 2 runs. For Type 1 runs, the data are saved in a MIDAS file by the MIDAS logger [1], and converted to MUD format by the custom logger mdarc. For Type 2 runs, mdarc saved the data directly in a MUD file, and no MIDAS file is produced.
The histograms and data logging will therefore be described separately for Type 1 and Type 2 runs.
Scaler Channels : Hardware Connections
Currently,
- experiment bnmr has two SIS3801 scalers known as Scaler A and Scaler B
- experiment bnqr has one SIS3820 scaler, Scaler B
- NOTE
- The sis3820 scaler is needed for bnqr alpha mode as it has a larger buffer and greater resolution.
BNMR
Scaler | Module | Channel | Contents |
---|---|---|---|
A | SIS3801 | 1 | Front scalers (16 segments summed in hardware) |
2 | Front scalers (16 segments summed in hardware) | ||
Total number of real scaler inputs : 2 |
Scaler | Module | Channel | Contents |
---|---|---|---|
B | SIS3801 | 1 | Scaler Internal Clock (not connected) |
2 | Fluorescence Monitor (not used) | ||
3,4 | Polarimeter counters (2) | ||
5,6,7,8 | Neutral Beam Forwards counters (4) | ||
9,10,11,12 | Neutral Beam Backwards counters (4) | ||
Total number of real scaler inputs : 12 |
BNQR
Scaler | Module | Channel | Contents |
---|---|---|---|
B | SIS3820 * | 1 | Scaler Internal Clock (not connected) |
17 | Fluorescence Monitor (not used) | ||
18,19 | Polarimeter counters (2) | ||
20 | Neutral Beam Forwards counter (summed in hardware) | ||
21 | Neutral Beam Backwards counter (summed in hardware) | ||
22,23,24,25 | Alpha Counters | ||
Total number of real scaler inputs : 10 |
- NOTE
- * SIS3820 module has ECL inputs 1-16, NIM 17-32. Therefore BNQR's input channel start at 17 (NIM).
Midas histograms built in the frontend
Histograms are built in the frontend (VMIC) using the data from the Scalers - see Cycle Scalers.
The scaler inputs are listed in scaler connections.
Type 1 Histograms
Type 1 histograms only includes data from last cycle.
Scaler A BNMR only
Table 4: Scaler A histograms (bnmr only)
Scaler A |
|
|
|
sum Back scalers |
|
|
|
sum Front scalers |
|
|
|
userbits |
|
|
|
Total number of BNMR Scaler A histograms: 3 |
Scaler B BNMR only
The Type 2 histograms built from data from Scaler B are shown in Table 5.
Table 5 : Scaler B histograms (bnmr)
Scaler B |
|
|
|
sum scaler B (scaler clock) |
|
|
|
sum scaler B (fluorescence mon) |
|
|
|
sum scaler B (pol monitor 1) |
|
|
|
sum scaler B 3 (pol monitor 2) |
|
|
|
sum scaler B (Backwards neutral beam monitors) |
|
|
|
sum scaler B (Forwards neutral beam monitors) |
|
|
|
Total number of BNMR Scaler B histograms: 6 |
Total number of histograms from both scalers: 9 bnmr
Scaler B BNQR only
The Type 2 histograms built for bnqr from data from Scaler B are shown in Table 6. For Alpha Mode (1h) only, four extra histograms are built containing the data from the Alpha counters.
Table 6 : Scaler B histograms (bnqr)
Scaler B |
|
|
|
sum scaler B (scaler clock) |
|
|
|
sum scaler B (fluorescence mon) |
|
|
|
sum scaler B (pol monitor 1) |
|
|
|
sum scaler B 3 (pol monitor 2) |
|
|
|
sum scaler B (Backwards neutral beam monitors) |
|
|
|
sum scaler B (Forwards neutral beam monitors) |
|
|
|
userbits |
|
|
|
Total number of BNQR histograms: 7 | |||
Alpha mode (1h) only | |||
Alpha1 |
|
|
|
Alpha2 |
|
|
|
Alpha3 |
|
|
|
Alpha4 |
|
|
|
userbits |
|
|
|
Total number of BNQR histograms (Alpha mode): 11 |
- NOTE
- ** Userbit bank is always the final bank
Type 2 Histograms
For Type 2 (TD style), Midas histograms are built in the PPC frontend.
Histograms accumulate through the run and are sent periodically to be saved by the data logger mdarc.
Scaler A BNMR only
The histograms built with data from Scaler A are shown in Table 7. Note that the fifth histogram (userbits) is built in the frontend for BNMR Mode 2s only.
Table 7: Scaler A histograms (bnmr only)
Contents |
Helicity |
Bank Name |
Histogram Name |
Back Scalers + | 1 | HIBP | B+ |
Front Scalers + | 1 | HIFP | F+ |
Back Scalers - | 0 | HIBN | B- |
Front Scalers - | 0 | HIFN | F- |
Userbits | n/a | USER |
Scaler B BNMR and BNQR
The following histograms using data from Scaler B are sent out for bnmr and all bnqr modes except for Sample/Reference and Alpha Modes. See Sample/Reference histograms and BNQR Alpha Mode (2h)#Alpha Histograms for details.
10 Histograms from Scaler B:
Total histograms : 10 for BNQR,
14 for BNMR
Table 8: Scaler B histograms (bnmr and bnqr)
Contents |
Helicity |
|
Bank Name |
Histogram Name |
Reference Ticks | n/a | B | HMF1 | Const |
Fluorescence monitor | n/a | B | HMF2 | FluM2 |
Polarimeter Left + | 1 | B | HMLP | L+ |
Polarimeter Right + | 1 | B | HMRP | R+ |
Polarimeter Left - | 0 | b | HMLN | L- |
Polarimater Right - | 0 | B | HMRN | R- |
Neutral Beam Backwards + | 1 | B | HMBP | NBMB+ |
Neutral Beam Forwards + | 1 | B | HMFP | NBMF+ |
Neutral Beam Backwards - | 0 | B | HMBN | NBMB- |
Neutral Beam Forwards - | 0 | B | HMFN | NBMF- |
Scaler B BNQR Sample/Reference Mode
Some of the modes on BNQR can be run in sample/reference mode. An external signal is alternately turned on/off and the scaler data is sent to a different set of histograms depending on the state of the sample/reference signal. This mode is not supported for bnmr.
Table 9a: Scaler B histograms bnqr sample/reference
Contents |
Helicity |
|
Bank Name |
Histogram Name |
Reference Ticks | n/a | n/a | HMF1 | Const |
Fluorescence monitor | n/a | n/a | HMF2 | FluM2 |
Polarimeter Left + | 1 | R | HMLP | L+ |
Polarimeter Right + | 1 | R | HMRP | R+ |
Polarimeter Left - | 0 | R | HMLN | L- |
Polarimater Right - | 0 | R | HMRN | R- |
Neutral Beam Backwards + | 1 | R | HMBP | NBMB+ |
Neutral Beam Forwards + | 1 | R | HMFP | NBMF+ |
Neutral Beam Backwards - | 0 | R | HMBN | NBMB- |
Neutral Beam Forwards - | 0 | R | HMFN | NBMF- |
Polarimeter Left + | 1 | S | HMLP | |
Polarimeter Right + | 1 | S | HMRP | |
Polarimeter Left - | 0 | S | HMLN | |
Polarimater Right - | 0 | S | HMRN | |
Neutral Beam Backwards + | 1 | S | HMBP | |
Neutral Beam Forwards + | 1 | S | HMFP | |
Neutral Beam Backwards - | 0 | S | HSBN | |
Neutral Beam Forwards - | 0 | S | HSFN |
Scaler B BNQR Alpha Mode (2h)
Alpha Mode (mode 2h) involves very long histograms with a very short bin width. To save space, histograms for the Reference Clock and Fluorescence Monitor are not saved. Furthermore, if the total number of bins requested for all histograms exceeds the maximum event size allowed by MIDAS, the histogram bin size for all histograms will be reduced to 16 bits from 32 (the default). The histograms will be sent out from the frontend in 4 chunks, and reassembled by the data logger (mdarc) before being saved. The histograms sent from the frontend in Alpha Mode are shown in Table 10. Alpha mode is not supported for bnmr.
Table 10: Scaler B histograms bnqr Alpha Mode
Contents |
Helicity |
Bank Name |
Histogram Name |
Polarimeter Left + | 1 | HMLP | L+ |
Polarimeter Right + | 1 | HMRP | R+ |
Polarimeter Left - | 0 | HMLN | L- |
Polarimater Right - | 0 | HMRN | R- |
Neutral Beam Backwards + | 1 | HMBP | NBMB+ |
Neutral Beam Forwards + | 1 | HMFP | NBMF+ |
Neutral Beam Backwards - | 0 | HMBN | NBMB- |
Neutral Beam Forwards - | 0 | HMFN | NBMF- |
Alpha1+ | 1 | HA0P | |
Alpha2+ | 1 | HA1P | |
Alpha3+ | 1 | HA2P | |
Alpha4+ | 1 | HA3P | |
Alpha1- | 0 | HA0N | |
Alpha2- | 0 | HA1N | |
Alpha3- | 0 | HA2N | |
Alpha4- | 0 | HA3N |