|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Trigger helpers: fetchDocument() to read a configuration from the config database, and Factory to load a plugin from a shared library. More...
#include "psdaq/service/Dl.hh"#include <nlohmann/json.hpp>#include "psalg/utils/SysLog.hh"#include <cstdint>#include <string>#include "rapidjson/document.h"Classes | |
| class | Pds::Trg::Factory< T > |
| Loads a shared library and creates one object of type T with a C function exported by it; the object is deleted when the factory is destroyed or reused. More... | |
Namespaces | |
| namespace | Pds |
| Outer namespace of the HSD digitizer helpers. | |
| namespace | Pds::Trg |
| Namespace of the psdaq trigger code: TEB input data records, trigger primitives and trigger decisions. | |
Functions | |
| int | Pds::Trg::fetchDocument (const std::string &connectMsg, const std::string &configAlias, const std::string §ion, rapidjson::Document &top) |
| Call get_config_json of the Python module psdaq.configdb.get_config with connectMsg, configAlias and section (and 0), and parse the returned JSON into top. | |
Trigger helpers: fetchDocument() to read a configuration from the config database, and Factory to load a plugin from a shared library.