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

Detector, the abstract base of the DRP detector classes, and Factory, which creates detectors by type name. More...

#include "drp.hh"
#include "xtcdata/xtc/DescData.hh"
#include "xtcdata/xtc/NamesId.hh"
#include "xtcdata/xtc/NamesLookup.hh"
#include "xtcdata/xtc/VarDef.hh"
#include "psdaq/service/EbDgram.hh"
#include <string>
#include <vector>
#include <unordered_map>
#include <nlohmann/json.hpp>

Classes

class  Drp::Detector
 Abstract base of the DRP detector classes: transition hooks (most default to doing nothing and returning 0), event handlers, cube binning hooks and a buffer for building transition XTC. More...
 
class  Drp::Factory< T >
 Creates objects derived from T by detector type name (Parameters::detType). More...
 

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 
namespace  Pds::Eb
 Namespace of the psdaq event-builder (eb) code.
 
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.
 
namespace  Drp::Gpu
 Namespace of the GPU DRP code (psdaq/drpGpu); only Gpu::Detector is forward-declared here.
 

Variables

static XtcData::NameIndex _noName
 File-static, default-constructed NameIndex (each including translation unit gets its own copy); no use was found in psdaq.
 

Detailed Description

Detector, the abstract base of the DRP detector classes, and Factory, which creates detectors by type name.

Variable Documentation

◆ _noName

XtcData::NameIndex _noName
static

File-static, default-constructed NameIndex (each including translation unit gets its own copy); no use was found in psdaq.