|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Drp::Gpu::Detector, the base of the GPU DRP detectors, the NamesId indices they use, and the createDetector() factory declaration. More...
#include "drp/Detector.hh"#include "MemPool.hh"#include "psdaq/service/range.hh"#include "psdaq/aes-stream-drivers/GpuAsyncUser.h"#include <cuda_runtime.h>Classes | |
| class | Drp::Gpu::Detector |
| Base of the GPU DRP detectors (Drp::Gpu::Detector). 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. | |
| namespace | Drp::Gpu |
| Namespace of the GPU DRP code (psdaq/drpGpu); only Gpu::Detector is forward-declared here. | |
Typedefs | |
| typedef Drp::Gpu::Detector * | DetectorFactoryFn_t(Drp::Parameters &, Drp::Gpu::MemPoolGpu &) |
| Type of createDetector(). | |
Enumerations | |
| enum | { Drp::Gpu::MaxPnlsPerNode = 10 } |
| Panel limit used to space the NamesId indices below. More... | |
| enum | { Drp::Gpu::ConfigNamesIndex = Drp::NamesIndex::BASE , Drp::Gpu::EventNamesIndex = unsigned(ConfigNamesIndex) + unsigned(MaxPnlsPerNode) , Drp::Gpu::FexNamesIndex = unsigned(EventNamesIndex) + unsigned(MaxPnlsPerNode) , Drp::Gpu::ReducerNamesIndex } |
| NamesId indices for the xtc names of the GPU DRP (per the code comment). More... | |
Functions | |
| Drp::Gpu::Detector * | createDetector (Drp::Parameters ¶, Drp::Gpu::MemPoolGpu &pool) |
| Factory function defined by each GPU detector library (AreaDetector, EpixUHRemu, EpixUHRsim): return a new detector. | |
Drp::Gpu::Detector, the base of the GPU DRP detectors, the NamesId indices they use, and the createDetector() factory declaration.
| typedef Drp::Gpu::Detector * DetectorFactoryFn_t(Drp::Parameters &, Drp::Gpu::MemPoolGpu &) |
Type of createDetector().
| Drp::Gpu::Detector * createDetector | ( | Drp::Parameters & | para, |
| Drp::Gpu::MemPoolGpu & | pool | ||
| ) |
Factory function defined by each GPU detector library (AreaDetector, EpixUHRemu, EpixUHRsim): return a new detector.
PGPDetectorApp's DetectorFactory loads it from the library named for the detector type.