Expand description
Higher level functions, to deal with events/binary reprentation of it, configure the drs4, etc.
Constants§
- DATAPORT
- Dataport is 0MQ PUB for publishing waveform/event data
Functions§
- enable_
poisson_ self_ trigger - The poisson self trigger mode of the board triggers automatically, this means we don’t have to send a forced trigger signal every 1/rate.
- experimental_
ram_ buffer_ handler - Manage the RAM buffers for event data
- get_
active_ buffer - Get the active half of the RAM buffer
- get_
buff_ size - Get the blob buffer size from occupancy register
- get_
runconfig - Get a runconfig from a file.
- is_
systemd_ process - Check for the environmental variable LIFTOF_IS_SYSTEMD which is set in the liftof.service file to determine wether liftof is executed through systemd.
- prefix_
board_ id - prefix_
board_ id_ noquery - add the board id to the bytestream in front of the tof response
- prefix_
local - Add the prefix “LOCAL” to a bytestream.
- ram_
buffer_ handler - Manage the RAM buffers for event data
- rb_
calibration - A full set of RB calibration
- rb_
noi_ subcalibration - rb_
start_ run - rb_
stop_ run - rb_
timing_ subcalibration - rb_
voltage_ subcalibration - reset_
dma_ and_ buffers - Reset DMA pointer and buffer occupancy registers
- run_
check - Check if the buffers are actually filling
- send_
ltb_ all_ thresholds_ reset - send_
ltb_ all_ thresholds_ set - send_
ltb_ threshold_ set - setup_
drs4 - Prepare the whole readoutboard for data taking.
- wait_
while_ run_ active - Wait as long as a run is active. This call blocks the current thread until no run is active anymore.