|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
UDP encoder DRP: encoder frame layouts, the UDP frame receiver, the PGP reader, a polynomial interpolator, and the UdpEncoder, UdpDrp and UdpApp classes. More...
#include <thread>#include <atomic>#include <string>#include <functional>#include <mutex>#include <chrono>#include <condition_variable>#include <assert.h>#include <cstdint>#include <vector>#include "DrpBase.hh"#include "XpmDetector.hh"#include "spscqueue.hh"#include "psdaq/service/Collection.hh"Classes | |
| struct | Drp::encoder_header_t |
| struct | Drp::encoder_channel_t |
| struct | Drp::encoder_frame_t |
| class | Drp::UdpReceiver |
| Receives encoder frames on a UDP socket in its own thread, stores each one as a Dgram in a queue, and reports missing and out-of-order frames to the collection server. More... | |
| class | Drp::Pgp |
| PgpReader for the PGP-card DRP that forwards broken-event and event-counter-reset notifications to its PGPDrp. More... | |
| class | Drp::Interpolator |
| Least-squares polynomial fit (Eigen QR) over the last n (time, value) points, used to estimate encoder values at event times. More... | |
| class | Drp::UdpEncoder |
| XpmDetector for a UDP encoder: owns the UdpReceiver and records each frame as raw and, when interpolating, interpolated encoder data. More... | |
| class | Drp::UdpDrp |
| DrpBase for the UDP encoder: a worker thread matches PGP timing events with encoder frames (optionally interpolating) and sends the results to the TEB. More... | |
| class | Drp::UdpApp |
| CollectionApp of the UDP encoder DRP process: owns the MemPoolCpu, the UdpEncoder and the UdpDrp and handles the collection transitions. More... | |
Namespaces | |
| namespace | Drp |
| This class services detectors whose event data is formatted from the AxiStreamBatcherEventBuilder firmware module This class depends upon the existence of a python module "psdaq.configdb.<detType>_config.py", which contains the following functions: <detType>_init (str) - returns a handle (PyObject) for interacting with the device configuration <detType>_connect (handle) - returns a dictionary with "paddr" element for Xpm link ID. | |
Macros | |
| #define | UDP_RCVBUF_SIZE 10000 |
| Socket receive buffer size (10000) requested by createUdpSocket() in UdpEncoder.cc. | |
UDP encoder DRP: encoder frame layouts, the UDP frame receiver, the PGP reader, a polynomial interpolator, and the UdpEncoder, UdpDrp and UdpApp classes.
| #define UDP_RCVBUF_SIZE 10000 |
Socket receive buffer size (10000) requested by createUdpSocket() in UdpEncoder.cc.