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

PythonConfigScanner, which turns scan keys and step values from a detector Python module into XTC configuration and update data. More...

#include <Python.h>
#include <nlohmann/json.hpp>
#include "xtcdata/xtc/NamesLookup.hh"

Classes

class  Drp::PythonConfigScanner
 Scan support for Python-configured detectors: calls the functions {detType}_scan_keys and {detType}_update of the given module (per the header comment) and translates their JSON into XTC. More...
 

Namespaces

namespace  XtcData
 Namespace of the XTC data-format classes (Xtc, Dgram, TypeId, Src, NamesId, ShapesData, DescData, iterators, ...).
 
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

PythonConfigScanner, which turns scan keys and step values from a detector Python module into XTC configuration and update data.