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

The GPU DRP: PGPDrp, which connects Reader, TrgInpGen and Reducer, and its TebReceiver, which records the reduced events. More...

#include <memory>
#include <thread>
#include <atomic>
#include <cuda_runtime.h>
#include <cuda/std/atomic>
#include <nlohmann/json.hpp>
#include "drp/DrpBase.hh"
#include "drp/spscqueue.hh"
#include "Reader.hh"
#include "TrgInpGen.hh"
#include "Reducer.hh"
#include "FileWriter.hh"

Classes

struct  Drp::Gpu::TebReceiverMetrics
 Counters of the GPU TebReceiver, exported by TebReceiver::setupMetrics(). More...
 
class  Drp::Gpu::TebReceiver
 TebReceiver of the GPU DRP. More...
 
class  Drp::Gpu::PGPDrp
 DRP for the GPU detectors (Drp::Gpu::PGPDrp). More...
 

Namespaces

namespace  XtcData
 Namespace of the XTC data-format classes (Xtc, Dgram, TypeId, Src, NamesId, ShapesData, DescData, iterators, ...).
 
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.
 
namespace  Drp::Gpu
 Namespace of the GPU DRP code (psdaq/drpGpu); only Gpu::Detector is forward-declared here.
 

Typedefs

using Drp::Gpu::ResultTuple = std::tuple< unsigned, const Pds::Eb::ResultDgram * >
 Buffer index and TEB result, queued by TebReceiver::complete() for the recorder thread.
 

Detailed Description

The GPU DRP: PGPDrp, which connects Reader, TrgInpGen and Reducer, and its TebReceiver, which records the reduced events.