Skip to content

bearing/python3316

Repository files navigation

Ethernet Data Aquisition Code for SIS3316 250MHz Digitizers

(Work in Progress) SimpleSetup.docx goes over the basic setup in more detail

Current Requirements

  1. Python 3
  2. Numpy

data_subscriber.py output dictionary values (unordered)

The dictionary fields depend on the hit/event flags that are set in the config file. Unless otherwise stated, all data types are 32-bit uint. The FIR Trigger shaper is the "short shaper" and the FIR Energy shaper is "long shaper".

Fields

  1. rid - global event id number, useful for sorting raw data events
  2. timestamp - 64-bit uint in samples (depends on clock frequency)
  3. det - detector ID, first det is 0

if 'Accumulator Gates 1-6 Flag' is set to True then the following fields are also present

  1. adc_max - max adc value .
  2. adc_argmax - index of max value
  3. pileup
  4. gate 1
  5. gate 2
  6. gate 3
  7. gate 4
  8. gate 5
  9. gate 6

if 'Accumulator Gates 7-8 Flag' is set to True

  1. gate 7
  2. gate 8

if 'MAW Values Flag' is set to True:

  1. maw_max - max value of fast shaper
  2. maw_after_trig - fast shaper value 1 sample after trig
  3. maw_before_trig - fast shaper value 1 sample before trig

if 'Energy Values Flag' is set to True:

  1. en_start - long shaper value at trigger
  2. en_max - max value of long shaper

if 'Save MAW Signal' is set to True:

  1. maw_data - 'MAW Test Buffer Length' of 32-bit uint Samples from either the short or long shaper. Energy/Long MAW if 'Save MAW Signal' is true, Trigger/Short MAW otherwise

if 'Sample Length' > 0

  1. raw_data - 'Sample Length' 16-bit uint ADC samples

Notes

250 MHz -> 4 ns/sample

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published