|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Namespace of the psdaq trigger code: TEB input data records, trigger primitives and trigger decisions. More...
Classes | |
| class | BldTebData |
| TEB input record for BLD: a 64-bit mask of sources present, followed by the record of each present source in BldSource order. More... | |
| struct | EBeamTebData |
| TEB input record for EBeam BLD data, filled by bldTebPrimitive.cc from ebeamL3Energy. More... | |
| class | Factory |
| 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... | |
| struct | GasDetTebData |
| TEB input record holding the six gas detector values named as in BldNames::GasDet. More... | |
| struct | GmdTebData |
| TEB input record for GMD BLD data, filled by bldTebPrimitive.cc. More... | |
| struct | HrEncoderTebData |
| TEB input record made by hrEncoderTebPrimitive.cc from the start of the encoder data payload. More... | |
| struct | PhaseCavityTebData |
| TEB input record holding the phase cavity values named as in BldNames::PCav, plus a severity word. More... | |
| struct | Piranha4TTTebData |
| TEB input record with six timetool values copied from a double array. More... | |
| struct | TimingTebData |
| TEB input record written by timingTebPrimitive.cc from the timing data of an event. More... | |
| struct | TmoTebData |
| TEB input record with a write word and a monitor word; tmoTebPrimitive.cc fills them with fixed example values (0xdeadbeef, 0x12345678) and tmoTeb.cc compares them with its configured values. More... | |
| class | TmoTebPrimitive |
| Example trigger primitive writing a TmoTebData record with fixed values. More... | |
| class | Trigger |
| Interface of the trigger decision code loaded by the TEB: event() fills the result datagram of each built event from its contributions. More... | |
| struct | TriggerData_bld |
| TEB input record of the example BLD trigger (TriggerPrimitiveExample_bld.cc writes it, TriggerExample.cc reads it). More... | |
| struct | TriggerData_cam |
| TEB input record written by TriggerPrimitiveExample_cam.cc. More... | |
| struct | TriggerData_timing |
| TEB input record holding nine 32-bit event code words; no user was found in psdaq. More... | |
| struct | TriggerData_xpphsd |
| TEB input record written by TriggerPrimitiveExample_xpphsd.cc. More... | |
| class | TriggerPrimitive |
| Interface of the DRP plugins that produce the TEB input data (size() bytes) for each event, either on the CPU or in a CUDA stream. More... | |
| struct | TripperTebData |
| Packed TEB input record for the MFX tripper trigger: either hot-pixel information (Jungfrau and dummy contributions) or the timing sequence words, with detType acting as the tag. More... | |
| struct | XGmdTebData |
| TEB input record for XGMD BLD data (pulse energy, vertical position and severity). More... | |
Functions | |
| int | 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. | |
Namespace of the psdaq trigger code: TEB input data records, trigger primitives and trigger decisions.
| int Pds::Trg::fetchDocument | ( | const std::string & | connectMsg, |
| const std::string & | configAlias, | ||
| const std::string & | section, | ||
| 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.
Returns 0, or -1 on a Python or parse error. Python must already be initialized (per the code comment).