Download User`s Manual PIXIE-4

Transcript
Following the buffer header, the events are stored in sequential order. Each event starts out
with an event header of length EVENTHEADLEN. Currently, EVENTHEADLEN=3, and
the three words are:
Table 4.3: Event header data format.
Word #
0
1
2
Variable
EVT_PATTERN
EVT_TIMEHI
EVT_TIMELO
Description
Hit pattern. Bit [15..0] = [gate pattern | hit pattern | status | read pattern]
Event time, high word
Event time, low word
The hit pattern is a bit mask, which tells which channels were read out plus some additional
status information, as listed in table 4.4. After the event header follows the channel
information as indicated by the hit pattern, in order of increasing channel numbers. For
example, if bits[3:0] = 1001, the event header is followed by data from channel 0, then
channel 3.
Table 4.4: Hit pattern bit description.
Bit #
0..3
4..7
8..11
12..15
Description
If set, indicates that data for channel 0..3 have been recorded
4: Logic level of FRONT panel input
5: Result of LOCAL coincidence test
6: Logic level of backplane STATUS line,
7: Logic level of backplane TOKEN line (= result of global coincidence test), see section 7
If set, indicates that channel 0..3 has been hit in this event
(i.e. if zero, energy reported is invalid or only an estimate)
Logic level of the GATE input of channel 0..3 (for rev. D modules only).
The data for each channel are organized into a channel header of length CHANHEADLEN,
which may be followed by waveform data. CHANHEADLEN depends on the run type and
on the method of data buffering, i.e. if raw data is directed to the intermediate Level-1 buffer
or directly to the linear buffer. Offline analysis programs should therefore check the value of
RUNTASK, which is reported in the buffer header. All currently supported data formats are
defined below.
1. For List Mode or Fast List Mode, either standard or compression 1, (RUNTASK =
256, 257, 512 or 513), CHANHEADLEN=9, and the nine words are
Table 4.5: Channel header, possibly followed by waveform data.
Word #
0
1
2
3
4
5
6
7
8
Variable
CHAN_NDATA
CHAN_TRIGTIME
CHAN_ENERGY
CHAN_XIAPSA
CHAN_USERPSA
Unused
Unused
Unused
CHAN_REALTIMEHI
Description
Number of words for this channel
Fast trigger time
Energy
XIA PSA value
User PSA value
N/A
N/A
N/A
High word of the real time
18
PIXIE-4 User’s Manual V1.61
© XIA 2008. All rights reserved.