BNMR: Histograms and Scalers: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
en>Suz
mNo edit summary
en>Suz
mNo edit summary
Line 115: Line 115:


<tr>
<tr>
<td>sum Front scalers 16-31</td>
<td>sum Front scalers</td>
<td>1</td>
<td>1</td>
<td>
<td>
Line 129: Line 129:
<td>userbits</td>
<td>userbits</td>


<td></td>
<td>
<td>
<center>h2</center>
<center>h2</center>
Line 140: Line 141:
</table>
</table>


<p>6 histograms from Scaler B:
 
'''Table 5 : Scaler B histograms'''  ({{bnmr}})
'''Table 5 : Scaler B histograms'''  ({{bnmr}})
<table BORDER WIDTH="50%" NOSAVE  style="background-color: #e6e6ff;">
<table BORDER WIDTH="50%" NOSAVE  style="background-color: #e6e6ff;">
Line 229: Line 230:
<tr><td colspan=4 style="font-weight:bold; text-align:center; background-color:#ccccff;"> Total number of histograms: 6</td></tr>
<tr><td colspan=4 style="font-weight:bold; text-align:center; background-color:#ccccff;"> Total number of histograms: 6</td></tr>
</table>
</table>
'''Table 6 : Scaler B histograms'''  ({{bnqr}})
<table BORDER WIDTH="50%" NOSAVE  style="background-color: #b3ffff;">
<tr>
<td><b>Scaler B </b></td>
<td><b>Channel</b></td>
<td>
<center><b>Histogram no.</b></center>
</td>
<td>
<center><b>Midas Bankname</b></center>
</td>
</tr>
<tr>
<td>sum scaler B (scaler clock)</td>
<td>1</td>
<td>
<center>h3</center>
</td>
<td>
<center>HM00</center>
</td>
</tr>
<tr>
<td>sum scaler B (fluorescence mon)</td>
<td>17</td>
<td>
<center>h4</center>
</td>
<td>
<center>HM01</center>
</td>
</tr>
<tr>
<td>sum scaler B  (pol monitor 1)</td>
<td>18</td>
<td>
<center>h5</center>
</td>
<td>
<center>HM02</center>
</td>
</tr>
<tr>
<td>sum scaler B 3 (pol monitor 2)</td>
<td>19</td>
<td>
<center>h6</center>
</td>
<td>
<center>HM03</center>
</td>
</tr>
<tr>
<td>sum scaler B (Backwards&nbsp; neutral beam monitors)</td>
<td>20</td>
<td>
<center>h7</center>
</td>
<td>
<center>HM04</center>
</td>
</tr>
<tr>
<td>sum scaler B  (Forwards&nbsp; neutral beam monitors)</td>
<td>21</td>
<td>
<center>h8</center>
</td>
<td>
<center>HM05</center>
</td>
</tr>
<tr>
<td>userbits</td>
<td></td>
<td>
<center>h2</center>
</td>
<td>
<center>UBIT</center>
</td>
<tr><td colspan=4 style="font-weight:bold; text-align:center; background-color:#e6ffff;"> Total number of histograms: 7</td></tr>
</table>
'''Table 7 : Scaler B histograms in Alpha mode '''  ({{bnqr}})
<table BORDER WIDTH="50%" NOSAVE  style="background-color: #b3ffff;">
<tr>
<td><b>Scaler B </b></td>
<td><b>Channel</b></td>
<td>
<center><b>Histogram no.</b></center>
</td>
<td>
<center><b>Midas Bankname</b></center>
</td>
</tr>
<tr>
<td>sum scaler B (scaler clock)</td>
<td>1</td>
<td>
<center>h3</center>
</td>
<td>
<center>HM00</center>
</td>
</tr>
<tr>
<td>sum scaler B (fluorescence mon)</td>
<td>17</td>
<td>
<center>h4</center>
</td>
<td>
<center>HM01</center>
</td>
</tr>
<tr>
<td>sum scaler B  (pol monitor 1)</td>
<td>18</td>
<td>
<center>h5</center>
</td>
<td>
<center>HM02</center>
</td>
</tr>
<tr>
<td>sum scaler B 3 (pol monitor 2)</td>
<td>19</td>
<td>
<center>h6</center>
</td>
<td>
<center>HM03</center>
</td>
</tr>
<tr>
<td>sum scaler B (Backwards&nbsp; neutral beam monitors)</td>
<td>20</td>
<td>
<center>h7</center>
</td>
<td>
<center>HM04</center>
</td>
</tr>
<tr>
<td>sum scaler B  (Forwards&nbsp; neutral beam monitors)</td>
<td>21</td>
<td>
<center>h8</center>
</td>
<td>
<center>HM05</center>
</td>
</tr>
<tr>
<td>Alpha1</td>
<td>22</td>
<td>
<center>h9</center>
</td>
<td>
<center></center>
</td>
</tr>
<tr>
<td>Alpha2</td>
<td>23</td>
<td>
<center>h10</center>
</td>
<td>
<center></center>
</td>
</tr>
<tr>
<td>Alpha3</td>
<td>24</td>
<td>
<center>h11</center>
</td>
<td>
<center></center>
</td>
</tr>
<tr>
<td>Alpha4</td>
<td>25</td>
<td>
<center>h12</center>
</td>
<td>
<center></center>
</td>
</tr>
<tr>
<td>userbits</td>
<td></td>
<td>
<center>h13</center>
</td>
<td>
<center>UBIT</center>
</td>
<tr><td colspan=4 style="font-weight:bold; text-align:center; background-color:#e6ffff;"> Total number of histograms: 7</td></tr>
</table>
<!-- alpha <tr style="background-color:#cae6e3; color:white;">  -->

Revision as of 17:18, 4 July 2018


Links

Introduction

In the frontend, data is read from the VME scaler(s) (SIS3801 or SIS3820) and saved in histograms. The number of histograms 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 every cycle, whereas for Type 2 the histograms are accumulated in the frontend memory, and sent 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 mlogger, and converted to MUD format by 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.

Front-end histograms and Cycle Scalers

Scaler Channels : Hardware Connections

BNMR

Table 1 : BNMR Scaler A Channels
Scaler Module Experiment Channel Contents
A SIS3801 BNMR 1 Front scalers (16 segments summed in hardware)
2 Front scalers (16 segments summed in hardware)
Total number of real scaler inputs : 2


Table 2 : BNMR Scaler B Channels
Scaler Module Experiment Channel Contents
B SIS3801 BNMR 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

Table 3 : BNQR Scaler B Channels
Scaler Module Experiment Channel Contents
B SIS3820 ** BNQR 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

Type 1

Only includes data from last cycle.


Table 4: Scaler A histograms (bnmr only)

Scaler A Channel
Histogram no.
Midas Bankname
sum Back scalers 0
h0
HIBP
sum Front scalers 1
h1
HIFP
userbits
h2
UBIT
Total number of histograms: 3


Table 5 : Scaler B histograms (bnmr)

Scaler B Channel
Histogram no.
Midas Bankname
sum scaler B (scaler clock) 1
h3
HM00
sum scaler B (fluorescence mon) 2
h4
HM01
sum scaler B (pol monitor 1) 3
h5
HM02
sum scaler B 3 (pol monitor 2) 4
h6
HM03
sum scaler B (Backwards  neutral beam monitors) 5-8
h7
HM04
sum scaler B (Forwards  neutral beam monitors) 9-12
h8
HM05
Total number of histograms: 6



Table 6 : Scaler B histograms (bnqr)

Scaler B Channel
Histogram no.
Midas Bankname
sum scaler B (scaler clock) 1
h3
HM00
sum scaler B (fluorescence mon) 17
h4
HM01
sum scaler B (pol monitor 1) 18
h5
HM02
sum scaler B 3 (pol monitor 2) 19
h6
HM03
sum scaler B (Backwards  neutral beam monitors) 20
h7
HM04
sum scaler B (Forwards  neutral beam monitors) 21
h8
HM05
userbits
h2
UBIT
Total number of histograms: 7



Table 7 : Scaler B histograms in Alpha mode (bnqr)

Scaler B Channel
Histogram no.
Midas Bankname
sum scaler B (scaler clock) 1
h3
HM00
sum scaler B (fluorescence mon) 17
h4
HM01
sum scaler B (pol monitor 1) 18
h5
HM02
sum scaler B 3 (pol monitor 2) 19
h6
HM03
sum scaler B (Backwards  neutral beam monitors) 20
h7
HM04
sum scaler B (Forwards  neutral beam monitors) 21
h8
HM05
Alpha1 22
h9
Alpha2 23
h10
Alpha3 24
h11
Alpha4 25
h12
userbits
h13
UBIT
Total number of histograms: 7