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

BEBDetector, the base of DRP detectors whose events are built by the AxiStreamBatcherEventBuilder firmware and configured through Python, and its NamesId index constants. More...

#include "drp.hh"
#include "Detector.hh"
#include "EventBatcher.hh"
#include "xtcdata/xtc/Xtc.hh"
#include "xtcdata/xtc/ConfigIter.hh"
#include "xtcdata/xtc/NamesId.hh"
#include <Python.h>

Classes

class  Drp::BEBDetector
 Detector base for devices whose event data is formatted by the AxiStreamBatcherEventBuilder firmware (per the header comment). More...
 

Namespaces

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.
 

Enumerations

enum  { Drp::MaxSegsPerNode = 10 }
 Segment limit used to space the names indices below. More...
 
enum  { Drp::ConfigNamesIndex = NamesIndex::BASE , Drp::EventNamesIndex = unsigned(ConfigNamesIndex) + unsigned(MaxSegsPerNode) , Drp::UpdateNamesIndex = unsigned(EventNamesIndex) + unsigned(MaxSegsPerNode) }
 NamesId index bases of BEB detectors, one block of MaxSegsPerNode indices each (the code comment says index for xtc NamesId). More...
 

Detailed Description

BEBDetector, the base of DRP detectors whose events are built by the AxiStreamBatcherEventBuilder firmware and configured through Python, and its NamesId index constants.