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:54]
pereira [TPPACs packet]
event_filter [2018/05/11 13:39]
pereira [S800 data format from Event Filter (S800 Filter)]
Line 1: Line 1:
 ====== S800 data format from Event Filter (S800 Filter) ====== ====== S800 data format from Event Filter (S800 Filter) ======
 This page describes the data format assembled by the S800 filter. The data is written in a series of 16-bit unsigned integers, subsequently referred to as ''words''. This format is suitable for the output of most of the modules presently used in the S800, and in the case where 32 bit integers are needed, the proper unpacking procedures will be given. This page describes the data format assembled by the S800 filter. The data is written in a series of 16-bit unsigned integers, subsequently referred to as ''words''. This format is suitable for the output of most of the modules presently used in the S800, and in the case where 32 bit integers are needed, the proper unpacking procedures will be given.
 +
 +Note that data from the S800 filter are encapsulated as Ring Items (RI) and, as such, will include a [[http://docs.nscl.msu.edu/daq/newsite/nscldaq-11.2/c185.html|Ring-Item Header]], a [[http://docs.nscl.msu.edu/daq/newsite/nscldaq-11.2/x214.html|Body Header]], and a Body, where the real parsed data are included. Ring Items emitted from the S800 filter are pushed into a [[http://docs.nscl.msu.edu/daq/newsite/nscldaq-11.2/c43.html|Ring-Buffer]] called **s800filter**.
  
 ===== General packet structure ===== ===== General packet structure =====
Line 26: Line 28:
   * **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 76:
   * **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 258: Line 260:
   * **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 273:
  
  
-  * **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 465: Line 469:
   * **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 | 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 |
  
Line 475: Line 479:
 | 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 633: Line 647:
  
  
-==== 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 660:
   * **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 681:
  
  
- 
-===== 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