|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Creates the Bld receiver and the XTC names of one BLD source, either from a built-in table or from EPICS PVs (BldPVA). More...
#include <BldDetector.hh>
Public Member Functions | |
| BldFactory (const BldPVA &pva, bool simulate) | |
| Wait (polling every 10 ms) until the PVs of pva are ready, then create a Bld for its multicast address and port with the LCLS-II header layout and the payload described by its PV. | |
| BldFactory (const char *name, unsigned interface, bool simulate) | |
| Choose the multicast address, names and algorithm for a known BLD name (text after the last colon): ebeam, pcav, gasdet, gmd, xgmd, feespec, or a beam monitor or UsdUsb name from BldNames; then create a Bld on port 10148 with the LCLS-I header layout. | |
| BldFactory (const BldFactory &) | |
| Copy only the name, type, ID and algorithm (not the receiver or names) and log a warning. | |
| ~BldFactory () | |
| Does nothing; empty body. | |
| Bld & | handler () |
| Return the Bld receiver. | |
| XtcData::NameIndex | addToXtc (XtcData::Xtc &, const void *bufEnd, const XtcData::NamesId &) |
| Add Names for this source with namesId to xtc and return their NameIndex. | |
| void | addEventData (XtcData::Xtc &, const void *bufEnd, XtcData::NamesLookup &, XtcData::NamesId &) |
| Copy the current Bld payload into a DescribedData entry and set the array shapes (fixed sizes, or sizes read from the payload for variable-length arrays). | |
| XtcData::VarDef & | varDef () |
| Return the field definitions of this source. | |
| const std::string & | detName () const |
| Return the detector name. | |
Creates the Bld receiver and the XTC names of one BLD source, either from a built-in table or from EPICS PVs (BldPVA).
| Drp::BldFactory::BldFactory | ( | const BldPVA & | pva, |
| bool | simulate | ||
| ) |
Wait (polling every 10 ms) until the PVs of pva are ready, then create a Bld for its multicast address and port with the LCLS-II header layout and the payload described by its PV.
| Drp::BldFactory::BldFactory | ( | const char * | name, |
| unsigned | interface, | ||
| bool | simulate | ||
| ) |
| Drp::BldFactory::BldFactory | ( | const BldFactory & | ) |
Copy only the name, type, ID and algorithm (not the receiver or names) and log a warning.
| Drp::BldFactory::~BldFactory | ( | ) |
Does nothing; empty body.
| void Drp::BldFactory::addEventData | ( | XtcData::Xtc & | , |
| const void * | bufEnd, | ||
| XtcData::NamesLookup & | , | ||
| XtcData::NamesId & | |||
| ) |
Copy the current Bld payload into a DescribedData entry and set the array shapes (fixed sizes, or sizes read from the payload for variable-length arrays).
| XtcData::NameIndex Drp::BldFactory::addToXtc | ( | XtcData::Xtc & | , |
| const void * | bufEnd, | ||
| const XtcData::NamesId & | |||
| ) |
Add Names for this source with namesId to xtc and return their NameIndex.
|
inline |
Return the detector name.
|
inline |
Return the field definitions of this source.