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 [2016/03/16 15:53]
pereira [Time-of-flight packet]
event_filter [2018/02/01 13:46]
pereira [Hodoscope packet]
Line 26: Line 26:
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
  
-^       ^^^^^^^^^^^^^^^|+^       ^^^^^^^^^^^^^^^|
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
 | 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 74: Line 74:
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
  
-^       ^^^^^^^^^^^^^^^|+^       ^^^^^^^^^^^^^^^|
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 |
Line 207: Line 207:
  
  
-==== Scintillator packet ====+===== Scintillator packet =====
 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.  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. 
  
Line 252: Line 252:
  
  
-==== Ion-Chamber packet ====+===== 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]]. 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]].
  
Line 258: Line 258:
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
  
-^    A number from 4 to 18    ^^^^^^^^^^^^^^^|+^    A number from 4 to 20    ^^^^^^^^^^^^^^^|
 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X | X | | 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 | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Line 271: Line 271:
  
  
-  * **Sub-packet "Energy" Tag**+  * **Sub-packet "Energy" Length** (self-inclusive)
  
-   0x5821    ^^^^^^^^^^^^^^^| +  A number from 2 to 18    ^^^^^^^^^^^^^^^| 
-| 0 | | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |+| 0 | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | 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 |
  
  
  
-  * **Sub-packet "Energy" Length** (self-inclusive)+  * **Sub-packet "Energy" Tag**
  
-  A number from 2 to 16    ^^^^^^^^^^^^^^^| +   0x5821    ^^^^^^^^^^^^^^^| 
-| 0 | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | X | X | X | X |+| 0 | | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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 |
 +
 +
  
  
Line 301: Line 303:
  
  
-==== CRDC packets ====+===== 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. 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.
  
Line 416: Line 418:
  
  
-==== Hodoscope packet ====+===== Hodoscope packet =====
 The Filter parses the [[Detectors#Hodoscope|Hodoscope]] information encoded in the two  The Filter parses the [[Detectors#Hodoscope|Hodoscope]] information encoded in the two 
 [[S800 USB DAQ data format#Tag 0x7165: Phillips 7164 ADC module for hodoscope energies 0 through 15|Phillips 7164 ADCs]] and re-formats the data in three packets, two with the energies of the two groups crystals (from 1 to 16 and from 17 to 32), and the third one with the hit pattern recorded in the [[S800 USB DAQ data format#Tag 0x4448: LeCroy4448 coincidence register module for hodoscope hit pattern|LeCroy 4448 coincidence-register module]]. [[S800 USB DAQ data format#Tag 0x7165: Phillips 7164 ADC module for hodoscope energies 0 through 15|Phillips 7164 ADCs]] and re-formats the data in three packets, two with the energies of the two groups crystals (from 1 to 16 and from 17 to 32), and the third one with the hit pattern recorded in the [[S800 USB DAQ data format#Tag 0x4448: LeCroy4448 coincidence register module for hodoscope hit pattern|LeCroy 4448 coincidence-register module]].
Line 475: Line 477:
 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 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 |
 +
 +
 +
 +  * **Hodoscope Sub-packet "Hit-pattern" Tag** 
 +
 +
 +^    0x0002   ^^^^^^^^^^^^^^^|
 +| 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 |
 +
  
  
Line 502: Line 514:
  
  
-==== TPPACs packet ====+===== TPPACs packet =====
 The Filter parses and re-formats information from the [[Detectors#Tracking Parallel Plate Avalanche Counters (TPPAC)|Tracking PPACs]] encoded in the [[S800 USB DAQ data format#Tag 0x5870: XLM72V tracking ppac readout module|XLM72 TPPACs module]]. The new packet includes both TPPACs; its structure is very similar to that from the CRDCs. The Filter parses and re-formats information from the [[Detectors#Tracking Parallel Plate Avalanche Counters (TPPAC)|Tracking PPACs]] encoded in the [[S800 USB DAQ data format#Tag 0x5870: XLM72V tracking ppac readout module|XLM72 TPPACs module]]. The new packet includes both TPPACs; its structure is very similar to that from the CRDCs.
  
Line 633: Line 645:
  
  
-==== Mesytec TDC (MTDC) packet ====+===== Mesytec TDC (MTDC) packet =====
 The MTDC packet includes the multiple timing values [[S800 USB DAQ data format#Tag 0x0DDC: Mesytec MTDC-32 module |encoded in the Mesytec MTDC]]. The packet looks like: The MTDC packet includes the multiple timing values [[S800 USB DAQ data format#Tag 0x0DDC: Mesytec MTDC-32 module |encoded in the Mesytec MTDC]]. The packet looks like:
  
Line 646: Line 658:
   * **Packet Tag**   * **Packet Tag**
  
-^    0x58E0    ^^^^^^^^^^^^^^^|+^    0x58F0    ^^^^^^^^^^^^^^^|
 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 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 |
Line 667: Line 679:
  
  
- 
-===== Versioning system ===== 
-ATTENTION: This section needs to be updated!!!!! 
- 
-The detectors installed in the S800 and the data to be read from them often changes with the differing requirements of each experiment. This in turn impacts the details of the data format, and requires the use of a version number in order to be backward compatible. Subsequent changes to the S800 data acquisition will increment the version number of the data format and new configurations will be reflected in new packet tags. Documentation for these changes will be given here, in links accessible from the following table. The current version of the data format is indicated with a star. 
- 
-^ S800_VERSION ^ Notes ^ Current Version | 
-| [[S800_VERSION 0x0004|0x0004]] | Last version using the SBS readout system, up to end December 2011 | | 
-| [[S800_VERSION 0x0005|0x0005]] | First version to use the VM/CC-USB parallel readout system, beginning January 2012 |  | 
-| [[S800_VERSION 0x0006|0x0006]] | The S800_GALOTTE_PACKET is added for the Galotte MCP Object box detector | * | 
  
  
event_filter.txt · Last modified: 2019/05/24 13:58 by pereira