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 [2015/10/30 17:42] pereira [CRDC packets] |
event_filter [2015/10/31 11:28] pereira |
||
---|---|---|---|
Line 3: | Line 3: | ||
The trigger bits words indicates which bits were set during the event. The encoding of the bits is the following: | The trigger bits words indicates which bits were set during the event. The encoding of the bits is the following: | ||
- | In this section, | + | In this section, |
Line 278: | Line 278: | ||
The energy (from the Phillips 7164H ADC module) is given by a series of words that look like: | The energy (from the Phillips 7164H ADC module) is given by a series of words that look like: | ||
- | ^ ^^^ Ch ^ energy | + | ^ ^^^ Ch ^ |
| 0 | 0 | 0 | X | X | X | X | X | X | X | X | X | X | X | X | X | | | 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 | | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
Line 342: | Line 342: | ||
- | * **Samples | + | * **Samples |
- | The Filter sends a series of sample | + | The Filter sends a series of sample |
- | ^ control bit ^ | + | ^ control bit ^ |
| 1 | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | | | 1 | 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 | | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
- | and 2) four 16-bit words, each with energy information from a pad. | + | where **channel** is a number between 0 and 63, and refers to a group of four pads. The second part includes __up to four__ consecutive |
- | ^ control bit ^ ^^ connector ^ ^ energy ^^^^^^^^^| | + | ^ control bit ^ |
- | | 1 | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | | + | | 0 | 0 | 0 | 0 | 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 | | ||
+ | |||
+ | The **connector** number is related to the pad number (**pad**) according to: **pad** = **channel** + **connector** x 64 (where **connector** ranges from 0 to 3, and **channel** is given by the first word of the sample sub-packet). Note that the Filter processes information from connectors with energies greater than 0. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | * **CRDC Sub-packet " | ||
+ | |||
+ | ^ 4 ^^^^^^^^^^^^^^^| | ||
+ | | 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 | | ||
+ | |||
+ | |||
+ | |||
+ | * **CRDC Sub-packet " | ||
+ | |||
+ | ^ 0x5845 | ||
+ | | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | | ||
+ | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | * **Energy from Anode** | ||
+ | The anode 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]]) is given by: | ||
+ | |||
+ | ^ empty ^^^^ | ||
+ | | 0 | 0 | 0 | 0 | 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 | | ||
+ | |||
+ | |||
+ | |||
+ | * **Time from Anode** | ||
+ | The anode time (from an ORTEC TAC encoded in the [[S800 USB DAQ data format#Tag 0x7167: Phillips 7164 ADC module for CRDC anodes (energies and TAC)|S800 Phillips 7164H ADC]]) is given by: | ||
+ | |||
+ | ^ empty ^^^^ | ||
+ | | 0 | 0 | 0 | 0 | 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 | | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
Line 358: | Line 397: | ||
- | 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. | ||