HOME ESR EXPERIMENTS LABS etc
E121 E127 E132 E125 E143 laser_cooling_2021 E142 Ê128 E146 E0052 E0018 E0028 E0038
  238U surrogate  Not logged in ELOG logo
Message ID: 2     Entry time: Wed Jun 12 12:28:07 2024
Author: Jan 
Category: DAQ 
Subject: TPAT and TRIGGER mapping 
The trigger pattern (TPAT) of the TRLO module assigns different TPATs for each combination of logically linked incoming triggers.
Our list of incoming triggers on the ECL & LEMO inputs of the TRLO is the following:

ECL_IN(1): Telescope
ECL_IN(2): Fission
ECL_IN(3): HeavyResidual
ECL_IN(4): SolarCells
ECL_IN(5): Xray-90
ECL_IN(6): Xray-145

LEMO_IN(1): jet-ON
LEMO_IN(2): jet-OFF

The current logic in the E028.trlo config in MBS folder creates the following TPATs:

TPAT Detector
0 Tel AND jet-ON
1 Fis AND jet-ON
2 HRes AND jet-ON
3 Cell AND jet-ON
4 (Xray-90 OR Xray-145) AND jet-ON
5 Tel AND jet-OFF
6 Fis AND jet-OFF
7 HRes AND jet-OFF
8 Cell AND jet-OFF
9 (Xray-90 OR Xray-145) AND jet-OFF


The TPATs start counting at 0 here, be aware that the LogicalMatrixUnit (LMU) in TRLO config does start counting at 1. E.g. TPAT 0 is defined by [trig_lmu_out(1)= tel AND jetON].

For each event several TPATs can be active at the same time, i.e. coincidences like [Tel & HRes], which do not have an individual TPAT assigned for their coincident occurance, we would see TPATs 0 and 2, in case the jet-ON signal is present. To get an individual number for each of those coincidence channels, the expanded TPAT (EPAT) is used. It is created by adding up 2^TPAT for each active TPAT:

EPAT = Sum_i( 2^TPAT_i )

As an example EPAT 27 is the sum of TPATs 0, 1, 3, 4 and a coincidence between Tel/Fis/Cell/Xray.

27 = 2^0 + 2^1 + 2^3 + 2^4

A table for the first 5 TPATs is given below, i.e. for all jetON events.

EPAT TPAT combination Detectors
10Tel
21Fis
30 + 1 Tel + Fis
42HRes
52 + 0 Tel + HRes
62 + 1 Fis + HRes
72 + 1 + 0 Tel + Fis + HRes
83Cells
93 + 0 Tel + Cells
103 + 1 Fis + Cells
113 + 1 + 0 Tel + Fis + Cells
123 + 2 HRes + Cells
133 + 2 + 0 Tel + HRes + Cells
143 + 2 + 1 Fis + HRes + Cells
153 + 2 + 1 + 0Tel + Fis + HRes + Cells
164 XrayOR
174 + 0 Tel + XrayOR
184 + 1 Fis + XrayOR
194 + 1 + 0 Tel + Fis + XrayOR
204 + 2 HRes + XrayOR
214 + 2 + 0 Tel + HRes + XrayOR
223 + 2 + 1 Fis + HRes + XrayOR
233 + 2 + 1 + 0Tel + Fis + HRes + XrayOR
244 + 3 Cell + XrayOR
254 + 3 + 0 Tel + Cell + XrayOR
264 + 3 + 1 Fis + Cell + XrayOR
274 + 3 + 1 + 0 Tel + Fis + Cell + XrayOR
284 + 3 + 2 HRes + Cell + XrayOR
294 + 3 + 2 + 0 Tel + HRes + Cell + XrayOR
304 + 3 + 2 + 1 Fis + HRes + Cell + XrayOR
314 + 3 + 2 + 1 + 0Tel + Fis + HRes + Cell + XrayOR


Many of the combinations here can only be created by random coincidences and are not relevant for the experiment.

The table can continued for jetOFF events with TPATs > 4 and EPATs > 31, but this is omitted here.
ELOG V3.1.5-fc6679b