lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
PGPDetector.hh File Reference

PGPDrp, the DRP for PGP-card detectors: a reader thread groups DMA events into batches for worker threads, and a collector passes the results to the TEB contributor. More...

#include <vector>
#include <thread>
#include <atomic>
#include "Detector.hh"
#include "drp.hh"
#include "spscqueue.hh"

Classes

struct  Drp::Batch
 A run of consecutive events (by event counter) handed to one worker. 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::PGPDrp
 DrpBase for PGP-card detectors: reader() groups DMA events into batches that are processed by nworkers worker threads (optionally through a Python DRP over message queues and shared memory), and collector() frees the DMA buffers and passes each event to the TEB contributor. More...
 

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 
namespace  Pds::Eb
 Namespace of the psdaq event-builder (eb) code.
 
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.
 

Detailed Description

PGPDrp, the DRP for PGP-card detectors: a reader thread groups DMA events into batches for worker threads, and a collector passes the results to the TEB contributor.