Data acquisition setup for double time of flight measurements

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.

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

Bit 7

Shutter 111c closed

Bit 6

Shutter 111c open

Bit 5

Movement blocked by user

Bit 4

Shutter 123 Pos 5

Bit 3

Shutter 123 Pos 4

Bit 2

Shutter 123 Pos 3

Bit 1

Shutter 123 Pos 2

Bit 0

Shutter 123 Pos 1

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: