|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
| ▼ docs | |
| doxygen | |
| ▼ psalg | |
| ► psalg | |
| ► alloc | |
| AllocArray.hh | Declares psalg::AllocArray and AllocArray1D, reference-counted Arrays whose storage comes from an Allocator |
| Allocator.hh | Declares the Allocator interface and two implementations: Stack (bump allocator over a fixed buffer) and Heap (malloc/free) |
| ► calib | |
| AreaDetectorTypes.hh | Declares detector-level types: detector::CALIB_TYPE, element-type aliases, the AREADETTYPE enum and the name-to-type map with its lookup functions |
| ArrayIO.hh | Declares psalg::ArrayIO, which loads an NDArray from a text file with '#' metadata lines |
| CalibPars.hh | Declares calib::CalibPars, which returns calibration constants from a CalibParsDB backend and geometry arrays from a GeometryAccess object |
| CalibParsDB.hh | Declares calib::CalibParsDB, the base class for calibration-constant backends |
| CalibParsDBStore.hh | Declares calib::getCalibParsDB(), the factory for calibration DB backends |
| CalibParsDBTypes.hh | Declares calib::DBTYPE, the calibration database backend types, and name_of_dbtype() |
| CalibParsDBWeb.hh | Declares calib::CalibParsDBWeb, the CalibParsDB backend that reads calibration constants from the calibration web service |
| CalibParsEpix100a.hh | Declares calib::CalibParsEpix100a, a CalibPars subclass for Epix100a that currently adds no overrides |
| CalibParsStore.hh | Declares calib::getCalibPars(), the factory for CalibPars objects |
| CalibParsTypes.hh | Declares calib::CALIB_TYPE, element-type aliases for calibration arrays, and name_of_calibtype() |
| MDBWebUtils.hh | Declares helpers for the calibration web service: libcurl HTTP requests, rapidjson parsing and printing, document lookup, and retrieval of calibration constants |
| NDArray.hh | Declares psalg::NDArray, an XtcData::Array subclass with its own shape storage and an external or owned data buffer |
| Query.hh | Declares calib::Query, a set of string parameters (detector, experiment, calib type, run, ...) used to look up calibration constants |
| Types.hh | Declares the psalg::types aliases shape_t and size_t |
| ► detector | |
| AreaDetector.hh | Declares detector::AreaDetector, the base class for area detectors, plus the index_t and cfg_int64_t aliases |
| AreaDetectorCspad.hh | Declares detector::AreaDetectorCspad and raw_cspad_t |
| AreaDetectorEpix100a.hh | Declares detector::AreaDetectorEpix100a, an AreaDetector subclass with stub shape and size overrides |
| AreaDetectorJungfrau.hh | Declares detector::AreaDetectorJungfrau, the AreaDetector subclass for Jungfrau config and raw data, and raw_jungfrau_t |
| AreaDetectorOpal.hh | Declares detector::AreaDetectorOpal, the AreaDetector subclass for Opal config and data fields, and its element-type aliases |
| AreaDetectorPnccd.hh | Declares detector::AreaDetectorPnccd, the AreaDetector subclass for pnCCD config and data fields, and its element-type aliases |
| AreaDetectorStore.hh | Declares detector::getAreaDetector(), the factory for AreaDetector subclasses |
| DataSourceSimulator.hh | Declares a file-based data source simulator: EventSimulator, EventIteratorSimulator and DataSourceSimulator |
| Detector.hh | Declares detector::Detector, the base class holding a detector name and type |
| DetectorStore.hh | Declares detector::getDetector(), the factory for Detector objects |
| DetectorTypes.hh | Declares detector::DETTYPE, the name-to-type maps and find_dettype(), dettypename() and the map printers |
| FFT.hh | Declares detector::fft(), an in-place radix-2 FFT of a complex vector |
| UtilsConfig.hh | Declares helpers that print or return descriptions of a ConfigIter's Names and of a Dgram header |
| ► digitizer | |
| Hsd.hh | Declares Pds::HSD::Channel, which unpacks the raw and fex streams of one HSD channel into arrays |
| Stream.hh | Declares HSD digitizer helpers: the StreamHeader and EventHeader views and the RawStream and ThrStream validators |
| ► geometry | |
| GeometryAccess.hh | Declares geometry::GeometryAccess, which loads a detector geometry description and computes pixel coordinates, areas, masks and image indexes |
| GeometryObject.hh | Declares geometry::GeometryObject, one node (with position, rotations, tilts, parent and children) of a detector geometry tree |
| GeometryTypes.hh | Declares the basic geometry:: type aliases (coordinates, areas, indexes, masks, sizes) and the AXIS enum |
| SegGeometry.hh | Declares geometry::SegGeometry, the abstract interface to one detector segment's pixel geometry, and the min_of_arr/max_of_arr helpers |
| SegGeometryCspad2x1V1.hh | Declares geometry::SegGeometryCspad2x1V1, the SegGeometry of a CSPAD 2x1 sensor |
| SegGeometryEpix100V1.hh | Declares geometry::SegGeometryEpix100V1, the SegGeometry of an Epix100 sensor |
| SegGeometryEpix10kaV1.hh | Declares geometry::SegGeometryEpix10kaV1, the SegGeometry of an Epix10ka sensor |
| SegGeometryMatrixV1.hh | Declares geometry::SegGeometryMatrixV1, the SegGeometry of a rectangular pixel matrix, and matrix_pars() for MTRX segment names |
| SegGeometryStore.hh | Declares geometry::SegGeometryStore, whose static Create() returns the SegGeometry for a segment name (SENS2X1:V1, EPIX100:V1, EPIX10KA:V1, PNCCD:V1 or a MTRX:... name), or 0 for other names |
| UtilsCSPAD.hh | Declares CSPAD 2x2 constants and templates that reorder data between [185,388,2] and [2,185,388] layouts |
| ► shmem | |
| ProcInfo.hh | Declares psalg::shmem::ProcInfo, a Src subclass whose process-id and IP accessors are stubs |
| ShmemClient.hh | Declares psalg::shmem::ShmemClient, the client side of the shared-memory monitor (transitions over TCP, events over message queues) |
| TransitionCache.hh | Declares psalg::shmem::TransitionCache, which tracks transition buffers in shared memory and the clients using them |
| XtcMonitorMsg.hh | Declares psalg::shmem::XtcMonitorMsg, a 16-byte record describing shared-memory buffers, with helpers that format shared-memory and queue names |
| XtcMonitorServer.hh | Declares psalg::shmem::XtcMonitorServer, which serves datagrams to monitoring clients through shared memory |
| XtcRunSet.hh | Declares XtcRunSet, which replays the datagrams of a list of xtc files into a shared-memory monitor server |
| ► utils | |
| ctest_utils.hh | Declares small test helpers that print and modify arrays and vectors |
| DirFileIterator.hh | Declares psalg::DirFileIterator, which iterates over directory entries whose names contain a pattern |
| Logger.hh | Declares the psalg logging classes (Logger singleton, LogStream, LogRecord, LogFormatter, LogHandler, LogHandlerStdStreams) and the MSG, MSGLOG and MSGSTREAM macros |
| MacTimeFix.hh | On macOS without CLOCK_REALTIME, defines CLOCK_REALTIME and CLOCK_MONOTONIC as 0 and a clock_gettime() that fills the timespec from gettimeofday() (microsecond resolution); on other systems it only includes time.h |
| NDArrayGenerators.hh | Declares templates that fill an NDArray with a constant, uniform random integers or normal random values |
| SysLog.hh | Declares psalg::SysLog, static wrappers around syslog(3) that tag messages by level |
| trim.hh | Declares psalg string helpers that remove whitespace: ltrim, rtrim, trim and strip |
| Utils.hh | Declares psalg directory helpers files_in_dir() and dir_content() |
| ▼ psana | |
| ► psana | |
| ► constFracDiscrim | |
| ConstFracDiscrim.hh | Declares psalgos constant-fraction discrimination functions: getcfd() and its polynomial helpers |
| ► hexanode | |
| cfib.hh | Declares cfib(), an iterative Fibonacci function |
| ctest_utils.hh | Declares small test helpers (in namespace psalg) that print and modify arrays and vectors |
| LMF_IO.hh | Declares the RoentDek LMF (list-mode file) reader/writer LMF_IO, its MyFILE binary-file helper, hardware header structures, and DAQ-id and data-format constants |
| resort64c.hh | Wrapper that includes the RoentDek header roentdek/resort64c.h; the comment below lists where the header and library were installed |
| SortUtils.hh | Declares helpers for the RoentDek sort_class: reading sorter config and calibration tables, writing calibration tables, and keyboard polling |
| wrap_resort64c.hh | Declares test_resort(), a small test of the RoentDek sort_class included through resort64c.hh |
| ► hsd | |
| HsdPython.hh | Declares Pds::HSD::ChannelPython, a non-copying view of one HSD channel's raw waveform and fex peaks for the Python wrapper |
| ► peakFinder | |
| LocalExtrema.hh | Declares localextrema functions that build maps and lists of local minima/maxima in 1-d and 2-d arrays, and the diagonal-offset helpers |
| peakfinder8.hh | Declares the peakfinder8 peak finder (from OM/Cheetah), its tPeakList result structure and the allocate/free helpers |
| PeakFinderAlgos.hh | Declares psalgos::PeakFinderAlgos (droplet-style peak finding in 2-d images with allocator-backed arrays) and its Peak and RingAvgRms result structures |
| PeakFinderAlgosLCLS1.hh | Declares psalg1::PeakFinderAlgos, the std::vector-based (LCLS1-style) peak finder for 2-d images, with its Peak and RingAvgRms structures |
| Types.hh | Declares the LOG verbosity bit flags and the basic types of the peakFinder algorithms (namespace types) |
| WFAlgos.hh | Declares the waveform edge finder psalg::find_edges() and its helper _add_edge() |
| ► pycalgos | |
| UtilsDetector.hh | Declares utilsdetector pixel-calibration functions (pedestal subtraction and gain, several Jungfrau constant layouts) and a test singleton |
| ▼ psdaq | |
| ► drp | |
| AreaDetector.hh | AreaDetector, a generic DRP detector that records the PGP lane payloads as a raw 16-bit image plus a small FEX array, with cube binning support |
| AxiBatcherParser.hh | EventBuilderParser, a parser for AxiStream batcher frames (a C++ port of a Python parser, per the file comment) |
| BEBDetector.hh | BEBDetector, the base of DRP detectors whose events are built by the AxiStreamBatcherEventBuilder firmware and configured through Python, and its NamesId index constants |
| BldDetector.hh | BLD DRP: receivers for beam-line data multicast streams (Bld), their configuration from built-in tables or EPICS PVs (BldPVA, BldFactory), and the BLD Pgp reader, BldDrp and BldApp |
| BldNames.hh | XtcData::VarDef name lists for BLD record types (UsdUsb encoder, spectrometer, EBeam, PCav, GasDet, beam monitor, GMD and XGMD) |
| CubeData.hh | CubeData, which accumulates detector raw data into bins (a cube) held in one or more datagram buffers |
| CubeResult.hh | CubeResult, which decodes the cube or window binning fields of a trigger ResultDgram |
| CubeTebReceiver.hh | CubeTebReceiver, a TebReceiver that bins detector raw data into a cube according to the trigger results |
| Detector.hh | Detector, the abstract base of the DRP detector classes, and Factory, which creates detectors by type name |
| Digitizer.hh | Digitizer, the DRP detector class for the high-speed digitizer, configured through the Python module psdaq.configdb.hsd_config |
| drp.hh | Core DRP types: command-line Parameters, PGP event and DMA buffer records, the Pebble buffer allocation and the MemPool buffer pools |
| DrpBase.hh | DrpBase and its helpers: run, chunk and file parameters, the TEB result receiver base, the PGP DMA reader, and the common transition handling of a DRP process |
| Epix100.hh | Epix100, the DRP detector class for the epix100 camera |
| EpixHR2x2.hh | EpixHR2x2, the DRP detector class for the ePixHR 2x2 camera |
| EpixHRemu.hh | EpixHRemu, an emulated ePixHR detector that replays raw frames read from an XTC file |
| EpixM320.hh | EpixM320, the DRP detector class for the ePixM320 camera |
| EpixQuad.hh | EpixQuad, the DRP detector class for the ePix quad camera |
| EpixUHR.hh | EpixUHR, the DRP detector class for the ePixUHR camera |
| EpixUHR3x2.hh | EpixUHR3x2, the DRP detector class for the 3x2-ASIC ePixUHR camera |
| EventBatcher.hh | Layout of AxiStream batcher events (header, subframe tails) and an iterator over their subframes |
| FileWriter.hh | Buffered file writers: single-threaded (BufferedFileWriter), with a writer thread (BufferedFileWriterMT), round-robin over several files (BufferedMultiFileWriterMT), and the small-data SmdWriter |
| FileWriterBase.hh | FileWriterBase, the abstract file writer interface, plus SmdDef and SmdWriterBase for small-data (offset) files |
| HREncoder.hh | HREncoder, the DRP detector class for the high-rate encoder |
| Jungfrau.hh | Jungfrau, the DRP detector class for Jungfrau modules controlled through the sls library |
| JungfrauData.hh | Frame constants and the packed UDP packet layout for Jungfrau data, used by Jungfrau.cc to assemble frames |
| JungfrauDetectorId.hh | JungfrauId, a 64-bit board-plus-module identifier, and JungfrauIdLookup, which finds the MAC address of a Jungfrau host |
| JungfrauEmulator.hh | JungfrauEmulator, an XpmDetector that emulates Jungfrau panels (one per PGP lane) |
| mpscqueue.hh | MPSCQueue, a ring buffer of uint32_t pointers for multiple producers and one consumer |
| Opal.hh | Opal, the DRP detector class for the Opal camera |
| OpalTTFex.hh | OpalTTFex, timetool edge finding on Opal camera images |
| PGPDetector.hh | PGPDrp, the DRP for PGP-card detectors: a reader thread groups DMA events into batches for worker threads, and a collector passes the results to the TEB contributor |
| PGPDetectorApp.hh | PGPDetectorApp, the collection application of the PGP-card DRP (drp.cc) |
| Piranha4.hh | Piranha4, the DRP detector class for the Piranha4 camera, which records a one-dimensional image |
| Piranha4TTFex.hh | Piranha4TTFex, timetool edge finding on Piranha4 line-camera data |
| PvaDetector.hh | PV DRP: a PGP reader, PvMonitor (matches EPICS PV updates to L1Accepts by timestamp), PvDetector, PvDrp and PvApp |
| PythonConfigScanner.hh | PythonConfigScanner, which turns scan keys and step values from a detector Python module into XTC configuration and update data |
| RunInfoDef.hh | RunInfoDef and ChunkInfoDef, the XTC name lists of the run information and chunk information records |
| Si570.hh | Si570, register access used to read and program the frequency of an Si570 device |
| spscqueue.hh | SPSCQueue, a fixed-capacity ring buffer for one producer and one consumer, with blocking and non-blocking reads |
| TebReceiver.hh | TebReceiver, the standard DRP trigger result receiver that records events to file and sends them to the monitoring event builders |
| TimeTool.hh | TimeTool, a BEBDetector for timetool data (detType tt in PGPDetectorApp) |
| TimingBEB.hh | TimingBEB, a BEBDetector that records timing data from an event-batcher stream |
| TimingDef.hh | TimingData, a packed timing record, and TimingDef, its XTC name list with helpers that write timing data into an Xtc |
| TimingSystem.hh | TimingSystem, the DRP detector class for timing-system data (configuration through Python, TimingDef event data, cube binning of event codes and inhibit counts) |
| TprTrigger.hh | TprApp, a collection application that programs TPR trigger outputs for a readout group |
| TTFex.hh | Helper types for timetool feature extraction: Roi, EventInfo (decoded timing information), EventSelect (event-code and destination filter) and the COPY_CFG_VECTOR macro |
| UdpEncoder.hh | UDP encoder DRP: encoder frame layouts, the UDP frame receiver, the PGP reader, a polynomial interpolator, and the UdpEncoder, UdpDrp and UdpApp classes |
| Wave8.hh | Wave8, the DRP detector class for the Wave8 digitizer (detType wave8 in PGPDetectorApp) |
| XpmDetector.hh | XpmDetector, the Detector base for PGP-card devices that take their timing from an XPM link |
| XpmInfo.hh | XpmInfo(), which turns an XPM link address word into connection-info JSON |
| ► drpGpu | |
| AreaDetector.hh | Drp::Gpu::AreaDetector, the GPU DRP detector registered for detType fakecam |
| CuSZpReducer.hh | CuSZpReducer, a ReducerAlgo plugin for the GPU DRP; its .cu file defines the createReducer() factory |
| CuSzReducer.hh | CuSzReducer, a ReducerAlgo plugin for the GPU DRP; its .cu file defines the createReducer() factory |
| Detector.hh | Drp::Gpu::Detector, the base of the GPU DRP detectors, the NamesId indices they use, and the createDetector() factory declaration |
| EipReducer.hh | EipReducer, a ReducerAlgo plugin for the GPU DRP; its .cu file defines the createReducer() factory |
| EpixUHRemu.hh | Drp::Gpu::EpixUHRemu, the GPU DRP detector registered for detType epixuhremu, with the ePixUHR geometry and gain range constants |
| EpixUHRsim.hh | Drp::Gpu::EpixUHRsim, the simulated GPU DRP detector registered for detType epixuhrsim, with the ePixUHR geometry and gain range constants |
| FileWriter.hh | Drp::Gpu::FileWriter and FileWriterAsync, which write event data held in GPU memory to files with NVIDIA cuFile |
| GpuAsyncLib.hh | CUDA and GPU Async helpers (error checks, DataDev, CudaContext, FPGA and GPU memory mapping, DMA target selection, GPUTimer) from axi-pcie-devel |
| GpuAsyncOffsets.h | Register offsets and field extractors for the AxiGpuAsyncCore and PcieAxiVersion firmware blocks |
| gpuUtils.hh | GPU DRP utilities: CUDA error checks, CudaContext, CoreRegisters (GpuAsyncCore registers, real or simulated), DMA target selection and GPUTimer |
| LcReducer.hh | LcReducer, a ReducerAlgo plugin for the GPU DRP; its .cu file defines the createReducer() factory |
| MemPool.hh | MemPoolGpu, the memory pool of the GPU DRP (DMA, host write, calibration and reduce buffers), with DataDev, DetPanel, DmaDsc and Ptr |
| NoOpReducer.hh | NoOpReducer, a ReducerAlgo plugin for the GPU DRP; its .cu file defines the createReducer() factory |
| PfplReducer.hh | PfplReducer, a ReducerAlgo plugin for the GPU DRP; its .cu file defines the createReducer() factory |
| PGPDetector.hh | The GPU DRP: PGPDrp, which connects Reader, TrgInpGen and Reducer, and its TebReceiver, which records the reduced events |
| PGPDetectorApp.hh | Drp::Gpu::PGPDetectorApp, the collection application of the GPU DRP, and DetectorFactory, which loads the GPU detector libraries |
| Reader.hh | Drp::Gpu::Reader, which receives the FPGA DMA buffers on the GPU, copies their headers to host memory and calibrates their payloads |
| Reducer.hh | Reducer, which runs the loaded ReducerAlgo instances (one per worker) on calibrated GPU buffers and returns the reduced sizes |
| ReducerAlgo.hh | ReducerAlgo, the interface of the GPU data reduction plugins, and ReducerTuple |
| RingIndex_DtoD.hh | RingIndexDtoD, a ring of buffer indices filled and drained on the GPU |
| RingIndex_DtoH.hh | RingIndexDtoH, a ring of buffer indices filled by the GPU and drained by the host |
| RingIndex_HtoD.hh | RingIndexHtoD, a ring of buffer indices filled by the host and drained by the GPU |
| RingQueue_DtoD.hh | RingQueueDtoD, a ring of values of type T filled by the GPU and drained by the GPU |
| RingQueue_DtoH.hh | RingQueueDtoH, a ring of values of type T filled by the GPU and drained by the host |
| RingQueue_HtoD.hh | RingQueueHtoD, a ring of values of type T filled by the host and drained by the GPU |
| SimDetector.hh | Drp::Gpu::SimDetector, the base of simulated GPU DRP detectors that write events into the GPU DMA buffers without a PGP device |
| SleekReducer.hh | SleekReducer, a ReducerAlgo plugin for the GPU DRP; its .cu file defines the createReducer() factory |
| TrgInpGen.hh | Drp::Gpu::TrgInpGen, which runs the trigger primitive on the GPU for each received buffer and checks the buffer headers on the host for the collector |
| Utils.h | General C, C++ and CUDA helpers from axi-pcie-devel: memory dumps, raw register access, a monotonic clock and min, max and clamp |
| ► epicsArch | |
| EpicsArch.hh | |
| EpicsArchMonitor.hh | |
| EpicsConfigType.hh | |
| EpicsMonitorPv.hh | |
| EpicsXtcSettings.hh | |
| PvConfigFile.hh | |
| ► psdaq | |
| ► aes-stream-drivers | |
| AxisDriver.h | |
| AxiVersion.h | |
| DataDriver.h | |
| DmaDest.h | |
| DmaDriver.h | |
| GpuAsync.h | |
| GpuAsyncRegs.h | |
| GpuAsyncUser.h | |
| ► app | |
| AppUtils.hh | |
| ► bld | |
| Client.hh | Pds::Bld::Client, a receiver of BLD multicast packets |
| Header.hh | Pds::Bld::Header, the header layout of BLD multicast packets |
| HpsEvent.hh | Bld::HpsEvent, one event decoded from an HPS BLD packet by HpsEventIterator |
| HpsEventIterator.hh | Bld::HpsEventIterator, which decodes the events of an HPS BLD packet |
| Server.hh | Pds::Bld::Server, which packs payloads into BLD multicast packets and sends them |
| ► cphw | |
| AmcPLL.hh | |
| AmcTiming.hh | |
| AxiVersion.hh | |
| BldControl.hh | |
| CpswTemplate.hh | |
| GthEyeScan.hh | |
| GthRxAlign.hh | |
| HsRepeater.hh | |
| Logging.hh | |
| Reg.hh | |
| Reg16.hh | |
| Reg64.hh | |
| RegBase.hh | |
| RingBuffer.hh | |
| TimingRx.hh | |
| Utils.hh | |
| XBar.hh | |
| Xvc.hh | |
| ► dti | |
| Module.hh | |
| PVCtrls.hh | |
| PVStats.hh | |
| ► eb | |
| ► src | |
| Batch.hh | Batch, which tracks one batch of fixed-size entries in an RDMA region |
| BatchManager.hh | BatchManager, which owns the region where a TEB contributor builds its batches |
| CubeConfigDgram.hh | CubeConfigDgram, a ResultDgram that carries a result type, a bin count and appended JSON text |
| CubeResultDgram.hh | CubeResultDgram, a ResultDgram whose auxdata field carries cube binning flags and a bin index |
| eb.hh | Event-builder constants (limits, timeouts, batch sizes), parameter structures for TEB/MEB contributors and builders, and the latency() helper |
| EbAppBase.hh | EbAppBase, the common base of the trigger and monitor event builders: an EventBuilder fed by libfabric server links from the contributors |
| EbCtrbInBase.hh | EbCtrbInBase, the result-receiving half of a TEB contributor |
| EbEpoch.hh | EbEpoch, an element of the event builder's list of epochs, each holding its pending events |
| EbEvent.hh | EbEvent, one event being built: the contributions received so far for a pulse ID and the contributors still missing |
| EbLfClient.hh | EbLfClient, which opens client-side libfabric links (EbLfCltLink) to event-builder servers, and helpers that connect and configure a set of such links |
| EbLfLink.hh | EbLfLink and its server and client variants: one libfabric connection used by the event builder, with credit-managed receives, immediate-data exchanges and RDMA posting |
| EbLfServer.hh | EbLfServer, which accepts libfabric client links (EbLfSvrLink) and receives their RDMA-write notifications, and helpers that start and connect a set of such links |
| Endpoint.hh | C++ wrappers around libfabric (OFI) objects: fabric and domain, memory regions, IO vectors, messages, event and completion queues, active and passive endpoints, and a completion poller |
| EventBuilder.hh | EventBuilder, the abstract core that collects contributions with equal pulse IDs into events and delivers them in order |
| fiTransport.hh | FiTransport, a point-to-point libfabric transport adapted from the libfabric pingpong example (see the license block below) |
| IndexPool.hh | Index pools: fixed arrays of equal-size objects addressed by a masked key, with non-waiting (IndexPoolBase, IndexPool) and waiting (IndexPoolBaseW, IndexPoolW) variants |
| MebContributor.hh | MebContributor, which copies datagrams into local buffers and RDMA-writes them to monitor event builders (MEBs) |
| ResultDgram.hh | ResultDgram, the trigger result datagram (an EbDgram plus a packed result word and a monitor buffer number word), and the ResultType codes |
| TebContributor.hh | TebContributor, which batches input datagrams and posts them to the trigger event builders (TEBs), and its CtrbBatch helper |
| utilities.hh | Event-builder helpers (page rounding, page-aligned allocation, thread pinning) and the ImmData packing of the 32-bit RDMA immediate data word |
| WindowResultDgram.hh | WindowResultDgram, a ResultDgram whose auxdata field carries four 6-bit window bin fields |
| ► epicstools | |
| EpicsProviders.hh | EpicsProviders, the process-wide pvAccess and Channel Access client providers |
| EpicsPVA.hh | EpicsPVA, the psdaq client of one EPICS PV over pvAccess or Channel Access, and the put callbacks it uses |
| MonTracker.hh | MonTracker, a PV monitor whose events are handled on a shared worker thread, with its WorkQueue and Worker interface |
| PVBase.hh | PVBase, an EpicsPVA that is its own monitor callback |
| PVCached.hh | PVCached, an EpicsPVA that does not send a value again if it has not changed |
| PVMonitor.hh | PVMonitor, an EpicsPVA that reports updates to a separate PVMonitorCb |
| PvMonitorBase.hh | PvMonitorBase, a MonTracker that copies the monitored field of a PV into raw payload buffers |
| PVMonitorCb.hh | PVMonitorCb, the callback interface for PV connection and update events |
| PvServer.hh | PvServer, an EpicsPVA whose updates go to a file-static callback that ignores them |
| ► hsd | |
| ► src | |
| Ad7291.hh | |
| AdcCore.hh | |
| AdcSync.hh | |
| Adt7411.hh | |
| ChipAdcCore.hh | |
| ChipAdcReg.hh | |
| ClkSynth.hh | |
| DmaCore.hh | |
| EnvMon.hh | |
| FexCfg.hh | |
| FlashController.hh | |
| Fmc134Cpld.hh | |
| Fmc134Ctrl.hh | |
| FmcCore.hh | |
| FmcCoreVoid.hh | |
| FmcSpi.hh | |
| Globals.hh | |
| HdrFifo.hh | |
| Histogram.hh | |
| I2c126.hh | |
| I2c134.hh | |
| I2cDevice.hh | |
| I2cSwitch.hh | |
| Jesd204b.hh | |
| LocalCpld.hh | |
| Mmcm.hh | |
| Module126.hh | |
| Module134.hh | |
| ModuleBase.hh | |
| OptFmc.hh | |
| Pgp.hh | |
| Pgp2b.hh | |
| Pgp2bAxi.hh | |
| Pgp3.hh | |
| PhaseMsmt.hh | |
| PhyCore.hh | |
| PV126Ctrls.hh | |
| PV126Stats.hh | |
| PV134Ctrls.hh | |
| PV134Stats.hh | |
| PVCtrlsBase.hh | |
| PvDef.hh | |
| QABase.hh | |
| RxDesc.hh | |
| Server.hh | |
| TprCore.hh | |
| Tps2481.hh | |
| Validator.hh | |
| ► mmhw | |
| AxiVersion.hh | |
| GthEyeScan.hh | |
| HexFile.hh | |
| McsFile.hh | |
| Pgp2bAxi.hh | |
| Pgp3Axil.hh | |
| Reg.hh | |
| Reg64.hh | |
| RegProxy.hh | |
| RingBuffer.hh | |
| TpgMini.hh | |
| TprCore.hh | |
| TriggerEventManager.hh | |
| TriggerEventManager2.hh | |
| Xvc.hh | |
| ► pgp | |
| ► aes-stream-drivers | |
| ► include | |
| DmaDest.h | |
| ► kcu1500 | |
| ► app | |
| Client.hh | |
| GthEyeScan.hh | |
| Reg.hh | |
| Si570.hh | |
| ► pgpcardG3 | |
| ► include | |
| PgpCardG3Status.h | |
| PgpCardMod.h | |
| PgpCardReg.h | |
| PgpCardStatus.h | |
| PgpIoctl.h | |
| ► kernel | |
| pgpcardG3.h | |
| PgpCardWrap.h | |
| ► pgpGen4Daq | |
| ► app | |
| PgpCam.hh | |
| PgpDaq.hh | |
| ► include | |
| DmaDriver.h | |
| ► kernel | |
| pgpGen4Daq.h | |
| ► user-driver | |
| aximicronn25q.hh | |
| mcsfile.hh | |
| pgpdriver.h | |
| ► service | |
| AlignmentAllocator.hh | AlignmentAllocator, a standard-library allocator that returns N-byte aligned storage (adapted from a Stack Overflow answer, per the file comment) |
| Collection.hh | ZeroMQ helpers (context, message, socket), NIC address lookup, and CollectionApp, the base of processes that take part in the DAQ collection protocol |
| Dl.hh | Dl, a small wrapper around dlopen(), dlsym() and dlclose() |
| EbDgram.hh | PulseId, TimingHeader (the memory-mapped timing header at the start of DMA data) and EbDgram (a Dgram prefixed by the pulse ID word), all packed to 4-byte alignment |
| fast_monotonic_clock.hh | Fast_monotonic_clock, a std::chrono clock on CLOCK_MONOTONIC_COARSE (falling back to CLOCK_MONOTONIC); adapted from a Stack Overflow answer per the file comment |
| Fifo.hh | Fifo, a fixed-size ring buffer, with a lock-guarded variant (FifoMT) and a variant whose readers can wait (FifoW) |
| GenericPool.hh | GenericPool, a Pool whose buffers come from one contiguous allocation and whose free list is a locked Queue |
| GenericPoolW.hh | GenericPoolW, a GenericPool whose allocation waits for a free buffer instead of failing |
| Histogram.hh | Histogram, a power-of-2 sized integer histogram with an overflow count |
| IpcUtils.hh | POSIX shared-memory and message-queue helpers used between the DRP and its Python workers |
| Json2Xtc.hh | Translation of configuration JSON (with :types: and :enum: descriptions) into XTC Names and data |
| kwargs.hh | Get_kwargs(), which parses a comma-separated key=value string into a map |
| LinkedList.hh | ListBase and LinkedList: intrusive doubly linked lists where an object serves either as a list head or as an element |
| LinkedListSL.hh | LinkedListSL, a doubly linked list element whose operations are guarded by a spin lock |
| Lock.hh | Lock, an abstract lock built on a binary Semaphore with a cantLock() hook |
| MetricExporter.hh | Prometheus monitoring helpers: exposer creation, a histogram type, and MetricExporter, a collectable that reads application counters on each scrape |
| Pool.hh | Pool, the abstract base of fixed-size buffer pools, and the PoolDeclare macro that routes a class's new and delete through a pool |
| PoolEntry.hh | PoolEntry, the header placed in front of every buffer handed out by a Pool |
| Queue.hh | Entry, List and Queue: intrusive doubly linked lists whose list operations are guarded by a spin lock (the NL variants skip the lock) |
| QueueSlowSafe.hh | Includes QueueSlowSafeVx.hh when VXWORKS is defined, otherwise QueueSlowSafeUx.hh (QueueSS) |
| QueueSlowSafeUx.hh | QueueSS, a List-based queue whose operations hold a pthread mutex (the UNIX version of QueueSlowSafe) |
| range.hh | GetRange(), which expands a list of numbers and number ranges into integers |
| Routine.hh | Routine, the job interface queued to and run by a Task |
| Semaphore.hh | Semaphore, a thin wrapper around an unnamed POSIX semaphore |
| SemLock.hh | SemLock, a lock built on a Semaphore that starts empty |
| SpinLock.hh | SpinLock, a busy-waiting lock on std::atomic_flag, usable with std::lock_guard |
| SysClk.hh | SysClk, static helpers to sample a fast clock and compute time differences |
| Task.hh | Task, a thread with a queue of Routine jobs, and its helpers |
| TaskObject.hh | TaskObject, the thread parameters (name, priority, stack, attributes) of a Task |
| TaskWait.hh | TaskWait, a Routine used to wait until a Task has processed everything queued before it |
| Timer.hh | Timer, which calls expired() in a user Task after duration() milliseconds, once or repeatedly, and its UNIX service routine |
| ► tpr | |
| Client.hh | |
| Frame.hh | |
| Module.hh | |
| Queues.hh | |
| RxDesc.hh | |
| ► trigger | |
| ► src | |
| BldTebData.hh | BldTebData, the TEB input record that packs data from several BLD sources behind a bit mask of the sources present |
| EBeamTebData.hh | EBeamTebData, the TEB input record for EBeam BLD data |
| GasDetTebData.hh | GasDetTebData, the TEB input record for gas detector BLD data |
| GmdTebData.hh | GmdTebData, the TEB input record for GMD BLD data |
| HrEncoderTebData.hh | HrEncoderTebData, the TEB input record of the high-rate encoder |
| PhaseCavityTebData.hh | PhaseCavityTebData, the TEB input record for phase cavity BLD data |
| Piranha4TTTebData.hh | Piranha4TTTebData, the TEB input record of the Piranha4 timetool results |
| TimingTebData.hh | TimingTebData, the TEB input record of the timing-system trigger primitive |
| TmoTebData.hh | TmoTebData, the example TEB input record used by the TMO trigger primitive and decision |
| tmoTebPrimitive.hh | TmoTebPrimitive, the example TMO trigger primitive that writes a TmoTebData record |
| Trigger.hh | Trigger, the interface of trigger decision plugins run by the TEB |
| TriggerData_bld.hh | TriggerData_bld, the TEB input record of the example BLD trigger primitive |
| TriggerData_cam.hh | TriggerData_cam, the TEB input record of the example camera trigger primitive |
| TriggerData_timing.hh | TriggerData_timing, a TEB input record holding nine 32-bit event code words |
| TriggerData_xpphsd.hh | TriggerData_xpphsd, the TEB input record of the example XPP digitizer trigger primitive |
| TriggerPrimitive.hh | TriggerPrimitive, the interface of DRP plugins that compute the TEB input data of each event |
| TripperTebData.hh | TripperTebData, the packed TEB input record of the MFX tripper trigger (Jungfrau hot-pixel counts or timing sequence words, tagged by detector type) |
| utilities.hh | Trigger helpers: fetchDocument() to read a configuration from the config database, and Factory to load a plugin from a shared library |
| XGmdTebData.hh | XGmdTebData, the TEB input record for XGMD BLD data |
| ► xpm | |
| MmcmPhaseLock.hh | MmcmPhaseLock, the register block of an MMCM phase-lock unit of the XPM |
| Module.hh | Xpm::Module, the register map and control functions of an XPM (accessed through Cphw::Reg), and the statistics records it returns |
| PVCtrls.hh | PVCtrls, the module-wide EPICS control PVs of an XPM (links, group L0 control, XTPG settings, MMCM scans and the sequence engine PVs) |
| PVLinkCtrls.hh | PVLinkCtrls, a placeholder for per-link EPICS controls of an XPM; allocate() is empty |
| PVPCtrls.hh | PVPCtrls, the EPICS control PVs of one XPM partition (used by xpmPVs) |
| PVPStats.hh | PVPStats, the EPICS statistics PVs (L0 rates, counts and dead time) of one XPM partition |
| PVSeq.hh | PVSeq, the EPICS PVs that load, remove and start instruction sequences on an XPM sequence engine |
| PVStats.hh | PVStats, the module-wide EPICS statistics PVs of an XPM (timing link counters, PLL status, XTPG time stamps and per-link status) |
| SeqJump.hh | SeqJump, the jump registers of an XPM sequence engine |
| SeqMem.hh | SeqMem, the 2048-word sequence RAM of an XPM sequence engine |
| SeqState.hh | SeqState, the state registers of one XPM sequence engine |
| sequence_engine.hh | TPGen::SequenceEngine, the interface of sequence engines that drive timing patterns for beam requests and experiment control (per the file comment), and InstructionCache |
| user_sequence.hh | Instruction classes of the timing sequence engine (TPGen): fixed-rate and AC-rate syncs, branches, checkpoints and control requests |
| XpmSequenceEngine.hh | XpmSequenceEngine, the SequenceEngine implementation for one XPM sequence engine (sequence RAM, jump and state registers) |
| ▼ xtcdata | |
| ► xtcdata | |
| ► xtc | |
| Array.hh | Declares XtcData::Array, a non-owning view of a C-order (row-major) array, and the MaxRank constant |
| BlockDgram.hh | Declares XtcData::BlockDgram, which builds a Dgram from pre-built memory blocks (Names, Shapes, Data) |
| ConfigIter.hh | Declares XtcData::ConfigIter, a NamesIter that also records ShapesData xtcs |
| Damage.hh | Declares XtcData::Damage, the 16-bit damage word carried by every Xtc |
| DataIter.hh | Declares XtcData::DataIter, an XtcIterator that records ShapesData xtcs of a datagram |
| DescData.hh | Declares DescData (reads fields of a ShapesData using its NameIndex) and the writers DescribedData and CreateData, plus the DESC_* helper macros |
| Dgram.hh | Declares the datagram header classes TransitionBase, Transition, Dgram and L1Dgram (packed with 4-byte alignment) |
| Level.hh | Declares XtcData::Level, an enum of levels (Segment, Event) with a name lookup |
| NameIndex.hh | Declares XtcData::NameIndex, which holds a private copy of a Names xtc and name-to-index maps, and the IndexMap typedef |
| NamesId.hh | Declares XtcData::NamesId, a Src value packing a 12-bit node id and an 8-bit names id |
| NamesIter.hh | Declares XtcData::NamesIter, an XtcIterator that collects Names xtcs into a NamesLookup |
| NamesLookup.hh | Declares XtcData::NamesLookup, the map from NamesId to NameIndex |
| ShapesData.hh | Declares the self-describing data classes: AlgVersion, Alg, Name, Shape, NameInfo, the Names xtc, and the ShapesData xtc with its Shapes and Data children |
| Smd.hh | Declares XtcData::Smd, which builds small-data (smd) datagrams holding an offset and a size per L1Accept |
| Src.hh | Declares XtcData::Src, the 32-bit source word (level + value) stored in each Xtc header |
| TimeStamp.hh | Declares XtcData::TimeStamp, a 64-bit time stored as 32-bit seconds and 32-bit nanoseconds words |
| TransitionId.hh | Declares XtcData::TransitionId, the enum of transition ids and its name lookup |
| TypeId.hh | Declares XtcData::TypeId, the 16-bit type-and-version word stored in each Xtc header |
| VarDef.hh | Declares XtcData::VarDef, a list of Name definitions |
| Xtc.hh | Declares XtcData::Xtc, the 12-byte container header (src, damage, contains, extent) used at every level of an XTC2 datagram |
| XtcFileIterator.hh | Declares XtcData::XtcFileIterator, which reads datagrams one by one from a file descriptor |
| XtcIterator.hh | Declares XtcData::XtcIterator, the abstract base class for walking the child xtcs of an Xtc |
| XtcUpdateIter.hh | Declares XtcData::DataDef (a list of field definitions with a name index) and XtcData::XtcUpdateIter, an iterator that copies, filters and builds xtcs |