Structure of the list-mode-data written by MBS
(old version up to March 2010, latest version)
One List-Mode-Data readout event contains several trigger events. The number of these trigger events is adjustable by the v1495_trig_scal value of the V1495 FPGA Trigger Logic and can be 1 up to 32.
Each readout event consists of two subevents distinguishable by the processor ID: One subevent for the Plastic Scintillator Setup (ProcID=1) and one for the BaF2-Array (ProcID=2).
The sub events structure depends on the electronics schema used but consists of a number of 32 bit long data words. The type of word is identified by the 5 highest bit the so called GEO. Depending on this GEO the meaning of the different lower bits is shown in the list below.
An Example for a List-Mode-Data event can be found here.
The single Data words have the following bit-structure:
Time:
GEO = 0 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0/1 | Time / 100 ms |
Bit 26 is 0 for real time and 1 for live time |
real and live time are written once only after the stop acquisition signal (trigger type 15) as an end of acquisition flag (this doesn't work in the multi branch setup because of a bug in MBS) |
Time Flag:
GEO = 1 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 1 | 0/1 | Time Flag / ms |
Bit 26 is 0 for time flag from Plastic-Setup and 1 for time flag from BaF2-Array |
the time flag is written as a header for the scaler data block and gives the time between each scaler readout |
Scaler Values (SIS 3820 VME Scaler):
GEO = 2, 3, 4 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 1 | 0 | Channel | Resol. R | Counts ( right shifted by R bits) |
GEO is 2 for the Scaler of the Plastic-Setup and 3 and 4 for the BaF2-Array |
Scaler ch |
Scaler 2 |
Scaler 3 |
Scaler 4 |
0 | Accelerator | Coincidence Pl 1 | BaF DAQ ch 0 |
1 | FC CFD | Coincidence Pl 2 | BaF DAQ ch 1 |
2 | Coincidence P l1 | Coincidence Pl 3 | BaF DAQ ch 2 |
3 | Coincidence Pl 3 | Coincidence Pl 4 | BaF DAQ ch 3 |
4 | HPGe | Coincidence Pl 5 | BaF DAQ ch 4 |
5 | N.C. | Coincidence Pl 6 | BaF DAQ ch 5 |
6 | N.C. | N.C. | BaF DAQ ch 6 |
7 | N.C. | N.C. | BaF DAQ ch 7 |
8 | N.C. | Coincidence BaF 1 | BaF DAQ ch 8 |
9 | N.C. | Coincidence BaF 2 | BaF DAQ ch 9 |
10 | N.C. | Coincidence BaF 3 | BaF DAQ ch 10 |
11 | N.C. | Coincidence BaF 4 | BaF DAQ ch 11 |
12 | ADC words | Coincidence BaF 5 | BaF DAQ ch 12 |
13 | LMD words | Coincidence BaF 6 | BaF DAQ ch 13 |
14 | TDC words | Coincidence BaF 7 | BaF DAQ ch 14 |
15 | QDC words | Coincidence BaF 8 | BaF DAQ ch 15 |
16 | Plastic DAQ ch 0 | Coincidence BaF 9 | BaF DAQ ch 16 |
17 | Plastic DAQ ch 1 | Coincidence BaF 10 | BaF DAQ ch 17 |
18 | Plastic DAQ ch 2 | Coincidence BaF 11 | BaF DAQ ch 18 |
19 | Plastic DAQ ch 3 | Coincidence BaF 12 | BaF DAQ ch 19 |
20 | Plastic DAQ ch 4 | Coincidence BaF 13 | BaF DAQ ch 20 |
21 | Plastic DAQ ch 5 | Coincidence BaF 14 | BaF DAQ ch 21 |
22 | Plastic DAQ ch 6 | Coincidence BaF 15 | BaF DAQ ch 22 |
23 | Plastic DAQ ch 7 | Coincidence BaF 16 | BaF DAQ ch 23 |
24 | Plastic DAQ ch 8 | Plastic OR | BaF DAQ ch 24 |
25 | Plastic DAQ ch 9 | BaF Majority | BaF DAQ ch 25 |
26 | Plastic DAQ ch 10 | Global OR | BaF DAQ ch 26 |
27 | Plastic DAQ ch 11 | Trigger | BaF DAQ ch 27 |
28 | Trigger | downscaled Trigger | BaF DAQ ch 28 |
29 | Readout | LMD words | BaF DAQ ch 29 |
30 | 10 MHz-Pulser real | 10 MHz-Pulser real | BaF DAQ ch 30 |
31 | 10 MHz-Pulser live | 10 MHz-Pulser live | BaF DAQ ch 31 |
for the DAQ channels cf. cabeling scheme |
ADC Header:
GEO = 5 | 1 | ||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 1 | 0 | 1 | 1 | memorized Ch. - 1 |
Event Counter |
ADC Data:
GEO = 5 | 0 | ||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 1 | 0 | 1 | 0 | Channel | Measurement |
TDC Data:
GEO = 6, 7 | 1 | ||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 1 | 1 | 0 | 1 | Channel | Measurement |
GEO is 6 for the TDC of the Plastic-Setup and 7 for the BaF2-Array |
TDC Channel |
TDC 6 |
TDC 7 |
0 | Trigger | Trigger |
1 ... 14 | N.C. | N.C. |
15 | Accelerator | Accelerator |
16 ... 22 | N.C. | N.C. |
23 | Fission Chamber | N.C. |
22 ... 30 | N.C. | N.C. |
31 | Veto end | N.C. |
32 | N.C. | BaF DAQ ch 0 |
33 ... 34 | N.C. | N.C. |
35 | N.C. | BaF DAQ ch 1 |
36 ... 37 | N.C. | N.C. |
38 | N.C. | BaF DAQ ch 2 |
39 ... 40 | N.C. | N.C. |
41 | N.C. | BaF DAQ ch 3 |
42 ... 43 | N.C. | N.C. |
44 | N.C. | BaF DAQ ch 4 |
45 ... 46 | N.C. | N.C. |
47 | N.C. | BaF DAQ ch 5 |
48 ... 49 | N.C. | N.C. |
50 | N.C. | BaF DAQ ch 6 |
51 ... 52 | N.C. | N.C. |
53 | N.C. | BaF DAQ ch 7 |
54 ... 55 | N.C. | N.C. |
56 | N.C. | BaF DAQ ch 8 |
57 ... 58 | N.C. | N.C. |
59 | N.C. | BaF DAQ ch 9 |
60 ... 61 | N.C. | N.C. |
62 | N.C. | BaF DAQ ch 10 |
63 | N.C. | N.C. |
64 | Plastic DAQ ch 0 | N.C. |
65 | N.C. | BaF DAQ ch 11 |
66 ... 67 | N.C. | N.C. |
68 | Plastic DAQ ch 1 | BaF DAQ ch 12 |
69 ... 70 | N.C. | N.C. |
71 | Plastic DAQ ch 2 | BaF DAQ ch 13 |
72 ... 73 | N.C. | N.C. |
74 | N.C. | BaF DAQ ch 14 |
75 | Plastic DAQ ch 3 | N.C. |
76 | N.C. | N.C. |
77 | N.C. | BaF DAQ ch 15 |
78 | Plastic DAQ ch 4 | N.C. |
79 | N.C. | N.C. |
80 | N.C. | BaF DAQ ch 16 |
81 | Plastic DAQ ch 5 | N.C. |
81 | N.C. | N.C. |
83 | N.C. | BaF DAQ ch 17 |
84 | Plastic DAQ ch 6 | N.C. |
85 | N.C. | N.C. |
86 | N.C. | BaF DAQ ch 18 |
87 | N.C. | N.C. |
88 | Plastic DAQ ch 7 | N.C. |
89 | N.C. | BaF DAQ ch 19 |
90 | N.C. | N.C. |
91 | Plastic DAQ ch 8 | N.C. |
92 | N.C. | BaF DAQ ch 20 |
93 ... 94 | N.C. | N.C. |
95 | Plastic DAQ ch 9 | BaF DAQ ch 21 |
96 ... 97 | N.C. | N.C. |
98 | Plastic DAQ ch 10 | BaF DAQ ch 22 |
99 ... 100 | N.C. | N.C. |
101 | N.C. | BaF DAQ ch 23 |
102 | Plastic DAQ ch 11 | N.C. |
103 | N.C. | N.C. |
104 | N.C. | BaF DAQ ch 24 |
105 ... 106 | N.C. | N.C. |
107 | N.C. | BaF DAQ ch 25 |
108 ... 109 | N.C. | N.C. |
110 | N.C. | BaF DAQ ch 26 |
111 ... 112 | N.C. | N.C. |
113 | N.C. | BaF DAQ ch 27 |
114 ... 115 | N.C. | N.C. |
116 | N.C. | BaF DAQ ch 28 |
117 ... 118 | N.C. | N.C. |
119 | N.C. | BaF DAQ ch 29 |
120 ... 121 | N.C. | N.C. |
122 | N.C. | BaF DAQ ch 30 |
123 ... 124 | N.C. | N.C. |
125 | N.C. | BaF DAQ ch 31 |
126 ... 127 | N.C. | N.C. |
for the DAQ channels cf. cabeling scheme |
TDC Trailer:
GEO = 6, 7 | 0 | ||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 1 | 1 | 0 | 0 | Status | Word Counter |
Trigger Time Tag:
GEO = 8, 9 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 1 | 0 | 0 | 0 | Trigger Time / 800 ns |
TAPS Header:
GEO = 11 ... 18, 22 ... 24 | 2 | ||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | Crate no. | memorized Ch. |
GEOs 22-24 are from Plastic-Setup and 11-18 from BaF2-Array |
GEO = 11 ... 18, 22 ... 24 | 0 | ||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | Channel | UN | OV | Measurement |
ADC Output Channel |
Data |
ADC Output Channel |
Data |
|
8 | LGS 1 | 18 | TAC 3 | |
9 | SGS 1 | 19 | TAC 4 | |
10 | LG 1 | 20 | LGS 3 | |
11 | SG 1 | 21 | SGS 3 | |
12 | LGS 2 | 22 | LG 3 | |
13 | SGS 2 | 23 | SG 3 | |
14 | LG 2 | 24 | LGS 4 | |
15 | SG 2 | 25 | SGS 4 | |
16 | TAC 1 | 26 | LG 4 | |
17 | TAC 2 | 27 | SG 4 |
LGS | ... | long Gate, high gain; | SGS | ... | short Gate, high gain; | LG | ... | long Gate; | SG | ... | short Gate; |
the numbers name the coresponding ADC Input Channel (see below) |
ADC Input Ch |
GEO |
||||||||||
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
22 |
23 |
24 |
|
1 | BaF 0 | BaF 4 | BaF 8 | BaF 12 | BaF 16 | BaF 20 | BaF 24 | BaF 28 | Pl 0 | Pl 4 | Pl 8 |
2 | BaF 1 | BaF 5 | BaF 9 | BaF 13 | BaF 17 | BaF 21 | BaF 25 | BaF 29 | Pl 1 | Pl 5 | Pl 9 |
3 | BaF 2 | BaF 6 | BaF 10 | BaF 14 | BaF 18 | BaF 22 | BaF 26 | BaF 30 | Pl 2 | Pl 6 | Pl 10 |
4 | BaF 3 | BaF 7 | BaF 11 | BaF 15 | BaF 19 | BaF 23 | BaF 27 | BaF 31 | Pl 3 | Pl 7 | Pl 11 |
BaF/Pl # means the BaF/Plastic DAQ channel # (cf. cabeling scheme) |
TAPS Trailer:
GEO = 11 ... 18, 22 ... 24 | 4 | ||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | Event Counter |
GEO = 26 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 0 | 1 | 0 | N = number of OPC data words following |
Subsequent to this single data word N further words are following. Each word contains only one 32 bit value. Note, that the order of the bytes of these words has to be swapped. The meaning of each value is as follows: |
consecutive number |
Value |
Formula value = f(word content) |
||||||||||||||||||||||||
1 | LA1-RC.01 | content * 12.5E-3 keV | ||||||||||||||||||||||||
4 | LA1-RC.11 | content * 12.5E-3 keV | ||||||||||||||||||||||||
7 | I-Cath | content * 1 uA | ||||||||||||||||||||||||
10 | Macropulse Duration | content * 4E-2 us | ||||||||||||||||||||||||
13 | Macropulse Period | content * 1E-1 ms | ||||||||||||||||||||||||
16 | CW Operation | content / 0xffff | ||||||||||||||||||||||||
19 | BPM04 - X | content * 1 um | ||||||||||||||||||||||||
22 | BPM04 - Y | content * 1 um | ||||||||||||||||||||||||
25 | BPM04 - I | content * 1 uA | ||||||||||||||||||||||||
28 | I-NL-MD.02 | content * (-6E-5) A | ||||||||||||||||||||||||
31 | I-NL-MD.03 | content * (-6E-5) A | ||||||||||||||||||||||||
34 | Shutter 123 Pos 1 | content / 0xffff | ||||||||||||||||||||||||
37 | Shutter 123 Pos 2 | content / 0xffff | ||||||||||||||||||||||||
40 | Shutter 123 Pos 3 | content / 0xffff | ||||||||||||||||||||||||
43 | Shutter 123 Pos 4 | content / 0xffff | ||||||||||||||||||||||||
46 | Shutter 123 Pos 5 | content / 0xffff | ||||||||||||||||||||||||
49 | Shutter 111c Open | content / 0xffff | ||||||||||||||||||||||||
52 | Shutter 111c Closed | content / 0xffff | ||||||||||||||||||||||||
55 | DCM13 - I | content * 1 uA | ||||||||||||||||||||||||
57 | Collimator Status |
|
After each of the words described in the table above, two words are following, containing the update time of each value. |
Absorber Change Flag:
GEO = 27 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 0 | 1 | 1 | new Absorber |
Target Change Flag:
GEO = 28 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 1 | 0 | 0 | new Target |
Veto Header:
GEO = 29 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 0 | 1 | 1 | N = number of Veto length values follwing |
Subsequent to this single data word N further words are following. Each word contains only one 32 bit value. Note, that the order of the bytes of these words has to be swapped. The meaning of each value is the length in units of 25 ns of the following signals: |
consecutive number |
Signal |
1 | Event header (0xa8000000) |
2 ... 9 | BaF TAPS 1 ... 8 Busy |
10... 12 | Plastic TAPS 1 ... 3 Busy |
13 | ADC Busy |
14 | Plastic branch total dead time |
15 | BaF2 branch total dead time |
16 | Trigger feed back |
17 | Global total dead time |
Test Data:
GEO = 30 | |||||||||||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 0 | 1 | 1 | Global Event Counter |