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/31 17:18]
pereira [Hodoscope packet]
event_filter [2015/11/01 08:25]
pereira [Mesytec TDC (MTDC) packet]
Line 407: Line 407:
 [[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]].
  
-Each of the two first packets look like:+Each of the **two first packets** look like:
  
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
Line 442: Line 442:
  
  
-where Ch is the crystal number in the packet (from 0 to 15). The Filter gives an energy word for each segment as long as **energy** is greater than 0.+where Ch is the crystal number in the packet (from 0 to 15). The Filter gives an energy word for each crystal as long as **energy** is greater than 0.
  
  
Line 448: Line 448:
  
  
-The third hodoscope packet with information from the coincidence register looks like:+The **third hodoscope packet** with information from the coincidence register looks like:
  
   * **Packet Length** (self-inclusive)   * **Packet Length** (self-inclusive)
Line 620: Line 620:
  
  
 +==== 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:
  
  
 +  * **Packet Length** (self-inclusive)
  
 +^    A number from 2 to 10    ^^^^^^^^^^^^^^^|
 +| 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 |
  
  
 +  * **Packet Tag**
  
- +   0x58E0    ^^^^^^^^^^^^^^^| 
-       ^^^^^^^^^^^^^^^| +|
-|+
 | 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 |
  
-  
  
-^        ^^^^^^^^^^^^^^^| +  * **Time values** 
-|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | +Every time value encoded in the MTDC is sent by the Filter as a series of two 16-bit words: the first one provides information about the MTDC channel and the hit number; the second one gives the time value for that channel-hit. In the current version (Oct. 2015), the Filter processes up to 32 hits per channel. This value can be increased if necessary.
-| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |+
  
  
- +^^^^^  hit  ^^^^ channel ^^^^^^^| 
- +|
-   Bit    ^^^^^^^^^^^^^^^| +
-15 14 13 12 11 10 |+
 | 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 |
  
  
 +
 +^   time   ^^^^^^^^^^^^^^^|
 +| X | X | X | 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 |
  
  
event_filter.txt · Last modified: 2019/05/24 13:58 by pereira