User Tools

Site Tools


event_filter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
event_filter [2015/10/30 15:34]
pereira [Scintillator packet]
event_filter [2015/10/30 17:02]
pereira [CRDC packets]
Line 8: Line 8:
  
 ==== Time-stamp packet ==== ==== Time-stamp packet ====
-The timestamp is coded by the XLMV72 module for each event as a 64-bit word. The Event Builder and Event Filter parse it as a set of four consecutive 16-bit words.+The timestamp is encoded in the [[S800 USB DAQ data format#Tag 0x5803: XLM72 time stamp module|XLMV72 time-stamp module]] for each event as a 64-bit word. The Event Filter parses it as a set of four consecutive 16-bit words.
  
  
Line 98: Line 98:
  
 ==== Trigger packet ==== ==== Trigger packet ====
-The trigger packet includes a bit-pattern word (from the ULM trigger module), with information about what sources triggered the event, and their corresponding time from the Phillips TDC.+The trigger packet includes a bit-pattern word (encoded  by the [[S800 USB DAQ data format#Tag 0x2367: Trigger module|ULM trigger module]]), with information about what sources triggered the event, and their corresponding time from the [[S800 USB DAQ data format#Tag 0x7186: Phillips 7186 TDC module for time-of-flights|Phillips 7186 TDC]].
  
  
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
  
-^    from 2 to 7    ^^^^^^^^^^^^^^^|+^    A number from 2 to 7    ^^^^^^^^^^^^^^^|
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X |
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Line 152: Line 152:
  
 ==== Time-of-flight packet ==== ==== Time-of-flight packet ====
-The time-of-flight packet includes all the timing values recorded by the Phillips TDC and the XFP-FP and OBJ-FP ToF from the ORTEC TACs. +The time-of-flight packet includes all the timing values encoded in the [[S800 USB DAQ data format#Tag 0x7186: Phillips 7186 TDC module for time-of-flights|Phillips TDC]] and the XFP-FP and OBJ-FP ToF from the ORTEC TACs encoded in the [[S800 USB DAQ data format#Tag 0x7167: Phillips 7164 ADC module for CRDC anodes (energies and TAC)|S800 Phillips 7164H ADC]]
  
  
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
  
-^    from 2 to 10    ^^^^^^^^^^^^^^^|+^    A number from 2 to 10    ^^^^^^^^^^^^^^^|
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X |
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Line 195: Line 195:
  
 ==== Scintillator packet ==== ==== Scintillator packet ====
-The scintillator packet includes the energy (from the FERA LeCroy module) and time (from the Phillips TDC) of the S800 FP scintillator signals. In the original configuration, there were 3 scintillators (E1, E2, and E3) which were later reduced to just one (E1) after the installation of the Hodoscope. +The scintillator packet includes the energy (encoded in the [[S800 USB DAQ data format#Tag 0x4300: FERA module for plastic scintillator energies|FERA LeCroy module]]) and time (encoded in the [[S800 USB DAQ data format#Tag 0x7186: Phillips 7186 TDC module for time-of-flights|Phillips TDC]]) of the [[Detectors#Plastic scintillators|S800 FP scintillator]] signals. In the original configuration, there were 3 scintillators (E1, E2, and E3) which were later reduced to just one (E1) after the installation of the Hodoscope.  
  
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
  
-^    from 4 to 8    ^^^^^^^^^^^^^^^| +^    A number from 4 to 8    ^^^^^^^^^^^^^^^| 
-| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | X | X | X |+| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | X | X | X |
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
  
Line 232: Line 233:
  
  
 +
 +
 +
 +
 +
 +
 +==== Ion-Chamber packet ====
 +The Ion-chamber packet includes the energies of the [[Detectors#Ionization chamber|16 ion-chamber segments]] encoded in one of the [[S800 USB DAQ data format#Tag 0x7164: Phillips 7164 ADC module for ion chamber energies|Phillips 7164H ADC]].
 +
 +
 +  * **Packet Length** (self-inclusive)
 +
 +^    A number from 4 to 18    ^^^^^^^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +  * **Packet Tag**
 +
 +^    0x5820    ^^^^^^^^^^^^^^^|
 +| 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +
 +  * **Sub-packet "Energy" Tag**
 +
 +^    0x5821    ^^^^^^^^^^^^^^^|
 +| 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +
 +  * **Sub-packet "Energy" Length** (self-inclusive)
 +
 +^    from 2 to 16    ^^^^^^^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +
 +
 +  * **Energy values**
 +The energy (from the Phillips 7164H ADC module) is given by a series of words that look like: 
 +
 +^  ^^^ Ch ^ energy  ^^^^^^^^^^^|
 +| 0 | 0 | 0 | X | X | X | X | X | X | X | X | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +Where Ch is the segment number (from 0 to 15, being segment 0 the most upstream). The Filter gives an energy word for each segment as long as **energy** is greater than 0.
 +
 +
 +
 +
 +==== CRDC packets ====
 +The Filter provides two CRDC packets: one for [[Detectors|Cathode Readout Drift Chambers (CRDC)|CRDC1]] and one for [[Detectors|Cathode Readout Drift Chambers (CRDC)|CRDC2]]. Each CRDC packet is divided in two sub-packets: the "Raw" sub-packet with information about the pads energies (encoded in the [[S800 USB DAQ data format#Tag 0xCFDC: XLM72V crdc1 pad readout module|CRDCs XLM72 modules]]), and the "Anode" sub-packet with anode energy and time information encoded in the CRDCs [[S800 USB DAQ data format#Tag 0x7167: Phillips 7164 ADC module for CRDC anodes (energies and TAC)|Phillips ADC]]. In the following, we describe the structure of the packet provided by the Filter for each CRDC.
 +
 +  * **Packet Length** (self-inclusive)
 +
 +^    A number from 4 to 18    ^^^^^^^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +  * **Packet Tag**
 +
 +^    0x5840    ^^^^^^^^^^^^^^^|
 +| 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +
 +  * **CRDC label**
 +
 +^    0 (CRDC1) or 1 (CRDC2) ^^^^^^^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +
 +  * **CRDC Sub-packet "Raw" Length** (self-inclusive)
 +
 +^    from 2 to 16    ^^^^^^^^^^^^^^^|
 +| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +
 +  * **CRDC Sub-packet "Raw" Tag** 
 +
 +^    0x5841    ^^^^^^^^^^^^^^^|
 +| 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +
 +
 +
 +
 +CRDC Sub-packet "Raw" CRDC Sub-packet "Raw" 
 +
 +
 +  * **Energy values**
 +The energy (from the Phillips 7164H ADC module) is given by a series of words that look like: 
 +
 +^  ^^^ Ch ^ energy  ^^^^^^^^^^^|
 +| 0 | 0 | 0 | X | X | X | X | X | X | X | X | X | X | X | X | X |
 +| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
 +
 +Where Ch is the segment number (from 0 to 15, being segment 0 the most upstream). The Filter gives an energy word for each segment as long as **energy** is greater than 0.
  
  
Line 250: Line 363:
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
 +
  
  
  
event_filter.txt · Last modified: 2019/05/24 13:58 by pereira