User Tools

Site Tools


s800_version_0x0004

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
s800_version_0x0004 [2013/12/12 11:01]
pereira
s800_version_0x0004 [2013/12/12 11:05]
pereira
Line 102: Line 102:
 where t is the threshold. The waveform data is written using two consecutive words per sample, to be upacked from the following format (binary representation): where t is the threshold. The waveform data is written using two consecutive words per sample, to be upacked from the following format (binary representation):
  
 +<code>
  word 1: hsss ssss sscc cccc  word 1: hsss ssss sscc cccc
 +</code>
  
 +<code>
  word 2: 0000 nndd dddd dddd  word 2: 0000 nndd dddd dddd
 +</code>
  
 where h is the header bit, which should always be 1 for valid CRDC data; where h is the header bit, which should always be 1 for valid CRDC data;
Line 116: Line 120:
 d are the 10 bits of data. d are the 10 bits of data.
  
-===S800_FP_CRDC_ANODE_PACKET===+==== S800_FP_CRDC_ANODE_PACKET ====
  
-Sub packet of [[#S800_FP_CRDC_PACKET|S800_FP_CRDC_PACKET]] giving energies and times of the CRDCs. Format:+Sub packet of [[S800 version 0x0004#S800_FP_CRDC_PACKET|S800_FP_CRDC_PACKET]] giving energies and times of the CRDCs. Format:
  
 +<code>
  0xeeee 0xtttt  0xeeee 0xtttt
 +</code>
  
-==S800_FP_HODO_PACKET==+ 
 +===== S800_FP_HODO_PACKET =====
  
 Up to 32 Hodoscope energies read from Phillips 7164 ADCs, read in sparse mode, hit patterns read from a LeCroy 4448 Coincidence register, and a time value read from an Ortec 566 TAC via a Phillips 7164 ADC. The type of data to extract is determined from the first word of the packet, the id word. The first 16 energies are associated with id = 0, the second 16 with id = 1 and the hit patterns and time with id = 2. Format: Up to 32 Hodoscope energies read from Phillips 7164 ADCs, read in sparse mode, hit patterns read from a LeCroy 4448 Coincidence register, and a time value read from an Ortec 566 TAC via a Phillips 7164 ADC. The type of data to extract is determined from the first word of the packet, the id word. The first 16 energies are associated with id = 0, the second 16 with id = 1 and the hit patterns and time with id = 2. Format:
  
 +<code>
  (id = 0,1) 0x000i 0xceee ...  (id = 0,1) 0x000i 0xceee ...
 +</code>
  
 +<code>
  (id = 2) 0x000i 0xaaaa 0xbbbb 0xtttt  (id = 2) 0x000i 0xaaaa 0xbbbb 0xtttt
 +</code>
  
 where i is the id, a is the coincidence register A for the first 16 channels, b the register for the second 16 channels and t the TAC time. where i is the id, a is the coincidence register A for the first 16 channels, b the register for the second 16 channels and t the TAC time.
  
-==S800_II_TRACK_PACKET==+ 
 +===== S800_II_TRACK_PACKET =====
  
 Data from the intermediate image tracking PPAC read from a Jtec XLM72V universal logic module in the form of waveform samples. The S800_II_TRACK_PACKET contains no data and is solely a wrapper for the S800_II_TRACK_RAW_PACKET sub packet. Data from the intermediate image tracking PPAC read from a Jtec XLM72V universal logic module in the form of waveform samples. The S800_II_TRACK_PACKET contains no data and is solely a wrapper for the S800_II_TRACK_RAW_PACKET sub packet.
  
-===S800_II_TRACK_RAW_PACKET===+==== S800_II_TRACK_RAW_PACKET ====
  
-Sub packet of [[#S800_II_TRACK_PACKET|S800_II_TRACK_PACKET]] giving waveform data. Format:+Sub packet of [[S800 version 0x0004#S800_II_TRACK_PACKET|S800_II_TRACK_PACKET]] giving waveform data. Format:
  
 +<code>
  0xtttt waveform data ...  0xtttt waveform data ...
 +</code>
  
 where t is the threshold. The waveform data is written using two consecutive words per sample, to be upacked from the following format (binary representation): where t is the threshold. The waveform data is written using two consecutive words per sample, to be upacked from the following format (binary representation):
  
 +<code>
  word 1: hsss ssss sscc cccc  word 1: hsss ssss sscc cccc
 +</code>
  
 +<code>
  word 2: 0000 nndd dddd dddd  word 2: 0000 nndd dddd dddd
 +</code>
  
 where h is the header bit, which should always be 1 for valid PPAC data; where h is the header bit, which should always be 1 for valid PPAC data;
Line 158: Line 176:
 d are the 10 bits of data. d are the 10 bits of data.
  
-==S800_OB_PIN_PACKET==+===== S800_OB_PIN_PACKET =====
  
 Energy from the object box PIN detector, read out from a Phillips 7164 ADC. Format: Energy from the object box PIN detector, read out from a Phillips 7164 ADC. Format:
  
 +<code>
  0xceee  0xceee
 +</code>
 +
  
-==S800_TIMESTAMP_PACKET==+===== S800_TIMESTAMP_PACKET =====
  
 A 48 bit timestamp read from a Jtec XLM74 universal logic module. Written as three consecutive words. Format: A 48 bit timestamp read from a Jtec XLM74 universal logic module. Written as three consecutive words. Format:
  
 +<code>
  0xhhhh 0xmmmm 0xllll  0xhhhh 0xmmmm 0xllll
 +</code>
  
 where h are bits 47-32, m are bits 31-16 and l bits 15-0 of the 48 bit timestamp word. where h are bits 47-32, m are bits 31-16 and l bits 15-0 of the 48 bit timestamp word.
  
s800_version_0x0004.txt · Last modified: 2013/12/12 11:05 by pereira