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

PV DRP: a PGP reader, PvMonitor (matches EPICS PV updates to L1Accepts by timestamp), PvDetector, PvDrp and PvApp. More...

#include <thread>
#include <atomic>
#include <string>
#include <mutex>
#include <chrono>
#include <condition_variable>
#include <Python.h>
#include "DrpBase.hh"
#include "XpmDetector.hh"
#include "spscqueue.hh"
#include "psdaq/epicstools/PvMonitorBase.hh"
#include "psdaq/service/Collection.hh"
#include "psdaq/service/fast_monotonic_clock.hh"

Classes

class  Drp::Pgp
 PgpReader for the PGP-card DRP that forwards broken-event and event-counter-reset notifications to its PGPDrp. More...
 
class  Drp::PvMonitor
 Monitors one EPICS PV and copies its value into the L1Accept whose timestamp equals the timestamp of the PV update. More...
 
class  Drp::PvDetector
 XpmDetector that records one or more EPICS PVs (Parameters pvSpecs) through PvMonitor objects, with optional configuration from the Python module psdaq.configdb.pvadetector_config. More...
 
class  Drp::PvDrp
 DrpBase of the PV DRP: a reader thread hands L1Accepts to the PV monitors and a collector thread sends the results to the TEB. More...
 
class  Drp::PvApp
 CollectionApp of the PV DRP process: owns the MemPoolCpu, the PvDetector and the PvDrp. 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.
 

Detailed Description

PV DRP: a PGP reader, PvMonitor (matches EPICS PV updates to L1Accepts by timestamp), PvDetector, PvDrp and PvApp.