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

Drp::Gpu::TrgInpGen, which runs the trigger primitive on the GPU for each received buffer and checks the buffer headers on the host for the collector. More...

#include <cstddef>
#include <vector>
#include <atomic>
#include <thread>
#include <cuda_runtime.h>
#include <cuda/std/atomic>
#include "MemPool.hh"
#include "RingIndex_DtoD.hh"
#include "RingIndex_DtoH.hh"
#include "drp/spscqueue.hh"
#include "psdaq/trigger/src/TriggerPrimitive.hh"
#include "xtcdata/xtc/TransitionId.hh"

Classes

struct  Drp::Gpu::TrgInpGenMetrics
 Counters of TrgInpGen, exported by TrgInpGen::setupMetrics(). More...
 
class  Drp::Gpu::TrgInpGen
 Runs the trigger primitive for each received buffer in a self-relaunching CUDA graph, taking buffers from the reader queues in turn and passing them to the host through a ring queue. More...
 

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 
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.
 

Detailed Description

Drp::Gpu::TrgInpGen, which runs the trigger primitive on the GPU for each received buffer and checks the buffer headers on the host for the collector.