This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
event_filter [2018/05/11 13:47] pereira [S800 data format from Event Filter (S800 Filter)] |
event_filter [2018/05/11 14:14] pereira [TPPACs packet] |
||
---|---|---|---|
Line 6: | Line 6: | ||
- | This page describes the data format assembled | + | This page describes the data format assembled |
+ | |||
+ | |||
+ | ^ Body Length 1 ^ Body Length 2 ^ S800 Data Tag ^ S800 Data Version ^ Data Packet 1 ^ Data Packet 2 ^ ... | | ||
+ | |||
+ | * **Body Length 1**: Number of words in body (self inclusive) | ||
+ | * **Body Length 2**: Number of words in body - 1 (self-inclusive) | ||
+ | * **S800 Data Tag**: 0x5800 | ||
+ | * **S800 Data Version**: 0x0005 | ||
+ | |||
===== General packet structure ===== | ===== General packet structure ===== | ||
Line 648: | Line 657: | ||
|63|62|32| | |63|62|32| | ||
+ | |||
+ | |||
+ | ===== S800 OBJECT PIN packet ===== | ||
+ | The S800 OBJECT PIN packet includes the energy (encoded in the [[S800 USB DAQ data format#Tag 0x7167: Phillips 7164 ADC module for CRDC anodes (energies and TAC)|S800 Phillips 7164H ADC]] measured in the S800 OBJ PIN detector. Note that for most of the experiments, | ||
+ | |||
+ | |||
+ | |||
+ | * **Packet Length** (self-inclusive) | ||
+ | |||
+ | ^ A number from 4 to 8 ^^^^^^^^^^^^^^^| | ||
+ | | 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 | | ||
+ | |||
+ | |||
+ | * **Packet Tag** | ||
+ | |||
+ | ^ 0x58A0 | ||
+ | | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | | ||
+ | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
+ | |||
+ | |||
+ | * **Energy** | ||
+ | The energy from the Phillips ADC is given by one word: | ||
+ | |||
+ | ^ ^^^ Ch ^ ^ energy | ||
+ | | 0 | 0 | 0 | X | 0 | 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 | | ||
+ | |||
+ | |||
+ | ^ ^^^ Ch ^ time ^^^^^^^^^^^| | ||
+ | | 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 | | ||