User Tools

Site Tools


s800_version_0x0006

Differences

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

Link to this comparison view

s800_version_0x0006 [2013/12/12 11:26]
pereira created
s800_version_0x0006 [2013/12/12 11:28]
pereira
Line 136: Line 136:
 Sub packet of [[#S800_FP_CRDC_PACKET|S800_FP_CRDC_PACKET]] giving waveform data. Format: Sub packet of [[#S800_FP_CRDC_PACKET|S800_FP_CRDC_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 CRDC data; where h is the header bit, which should always be 1 for valid CRDC data;
Line 154: Line 160:
 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_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_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 196: Line 216:
 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_VME_ADC_PACKET==+===== S800_VME_ADC_PACKET =====
  
 Mesytec 32 channel ADC installed in the main VME crate. Conversion is up to 13 bits. Mesytec 32 channel ADC installed in the main VME crate. Conversion is up to 13 bits.
  
 +<code>
  0x000i data...  0x000i data...
 +</code>
  
 where i is the id, and four id groups are in the data stream. Information from channels 0-7 is in id 0, 8-15 in id 1, 16-23 in id 2 and 24-32 in id 3. Not all channels may be present. By checking the length word before each packet tag, and unpacking the data word, the non-zero channels can be extracted. The data word format: where i is the id, and four id groups are in the data stream. Information from channels 0-7 is in id 0, 8-15 in id 1, 16-23 in id 2 and 24-32 in id 3. Not all channels may be present. By checking the length word before each packet tag, and unpacking the data word, the non-zero channels can be extracted. The data word format:
  
 +<code>
  ccce eeee eeee eeee  ccce eeee eeee eeee
 +</code>
  
 where c is the channel within this id (referred to as read_channel). The true adc channel number can be obtained by calculating (id * 8)+read_channel. e is the energy (11-13 bits dependent upon adc setting). where c is the channel within this id (referred to as read_channel). The true adc channel number can be obtained by calculating (id * 8)+read_channel. e is the energy (11-13 bits dependent upon adc setting).
  
-==S800_GALOTTE_PACKET==+===== S800_GALOTTE_PACKET =====
  
 Galotte time, up, down, left and right times from the Galotte MCP detector installed in the Object Box. Format: Galotte time, up, down, left and right times from the Galotte MCP detector installed in the Object Box. Format:
  
 +<code>
  0xcttt  0xcttt
 +</code>
  
 where c is the channel number (starting from zero and incrementing in the order given above) and t the time data. where c is the channel number (starting from zero and incrementing in the order given above) and t the time data.
  
s800_version_0x0006.txt · Last modified: 2013/12/12 11:28 by pereira