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

BLD DRP: receivers for beam-line data multicast streams (Bld), their configuration from built-in tables or EPICS PVs (BldPVA, BldFactory), and the BLD Pgp reader, BldDrp and BldApp. More...

#include <thread>
#include <atomic>
#include <string>
#include "DrpBase.hh"
#include "XpmDetector.hh"
#include "psdaq/service/Collection.hh"
#include "psdaq/service/fast_monotonic_clock.hh"
#include "psdaq/epicstools/PVBase.hh"
#include <chrono>

Classes

class  Drp::BldDescriptor
 PVA channel whose structure describes the payload of a BLD source; used by BldPVA. More...
 
class  Drp::Bld
 Receives a BLD multicast stream on a UDP socket and steps through the events packed in each packet (a header, then entries carrying timestamp and pulse ID offsets); can also simulate packets. More...
 
class  Drp::BldPVA
 Looks up the multicast address, port and payload description of a BLD source through EPICS PVs: ID:BLD1_MULT_ADDR and ID:BLD1_MULT_PORT (ca) and ID:BLD_PAYLOAD (pva). More...
 
class  Drp::BldFactory
 Creates the Bld receiver and the XTC names of one BLD source, either from a built-in table or from EPICS PVs (BldPVA). 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::BldDrp
 DrpBase of the BLD process; runs the BLD Pgp worker thread. More...
 
class  Drp::BldApp
 CollectionApp of the BLD DRP process: owns the MemPoolCpu, a BLD detector and the BldDrp. 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.
 

Variables

static const unsigned MAX_BLD = 16
 Maximum number of BLD sources in one process (16); sizes the per-source counters and metric exporters.
 

Detailed Description

BLD DRP: receivers for beam-line data multicast streams (Bld), their configuration from built-in tables or EPICS PVs (BldPVA, BldFactory), and the BLD Pgp reader, BldDrp and BldApp.

Variable Documentation

◆ MAX_BLD

const unsigned MAX_BLD = 16
static

Maximum number of BLD sources in one process (16); sizes the per-source counters and metric exporters.