|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
DrpBase and its helpers: run, chunk and file parameters, the TEB result receiver base, the PGP DMA reader, and the common transition handling of a DRP process. More...
#include "drp.hh"#include "FileWriter.hh"#include "Detector.hh"#include "psdaq/trigger/src/TriggerPrimitive.hh"#include "psdaq/trigger/src/utilities.hh"#include "psdaq/eb/src/TebContributor.hh"#include "psdaq/eb/src/MebContributor.hh"#include "psdaq/eb/src/EbCtrbInBase.hh"#include "psdaq/eb/src/ResultDgram.hh"#include "psdaq/service/Collection.hh"#include "psdaq/service/MetricExporter.hh"#include "psdaq/service/fast_monotonic_clock.hh"#include "psdaq/aes-stream-drivers/DmaDriver.h"#include "xtcdata/xtc/NamesLookup.hh"#include "xtcdata/xtc/TransitionId.hh"#include <nlohmann/json.hpp>Classes | |
| struct | Drp::RunInfo |
| Experiment name and run number of the current run, filled by DrpBase::beginrun(). More... | |
| struct | Drp::ChunkInfo |
| Name and ID of the next data file chunk, filled by DrpBase::enable(). More... | |
| class | Drp::FileParameters |
| Values needed to build data file names for a run: output directory, instrument, run number, experiment name, host name, node ID and chunk ID. More... | |
| class | Drp::TebReceiverBase |
| Base of the DRP trigger result receivers. More... | |
| class | Drp::PgpReader |
| Reads DMA buffers from the PGP driver in bulk and assembles them into PGPEvents (one buffer per lane). More... | |
| class | Drp::DrpBase |
| Common machinery of a DRP process: TEB and MEB contributors, the TEB result receiver, the trigger primitive, Prometheus metrics, and the handling of the connect, configure, run and chunking transitions. 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. | |
Functions | |
| nlohmann::json | Drp::createPulseIdMsg (uint64_t pulseId) |
| Return a JSON message whose key is pulseId and whose body holds pulseId. | |
Variables | |
| static const char *const | Drp::RED_ON = "\033[0;31m" |
| ANSI escape sequence that turns terminal text red; used in a few error messages. | |
| static const char *const | Drp::RED_OFF = "\033[0m" |
| ANSI escape sequence that resets terminal text attributes. | |
DrpBase and its helpers: run, chunk and file parameters, the TEB result receiver base, the PGP DMA reader, and the common transition handling of a DRP process.