Expand description
Higher level functions, to deal with events/binary reprentation of it, configure the drs4, etc.
Constants§
- Dataport is 0MQ PUB for publishing waveform/event data
Functions§
- 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.
- Manage the RAM buffers for event data
- Get the active half of the RAM buffer
- Get the blob buffer size from occupancy register
- Get a runconfig from a file.
- Check for the environmental variable LIFTOF_IS_SYSTEMD which is set in the liftof.service file to determine wether liftof is executed through systemd.
- add the board id to the bytestream in front of the tof response
- Add the prefix “LOCAL” to a bytestream.
- Manage the RAM buffers for event data
- A full set of RB calibration
- Reset DMA pointer and buffer occupancy registers
- Check if the buffers are actually filling
- Prepare the whole readoutboard for data taking.
- Wait as long as a run is active. This call blocks the current thread until no run is active anymore.