lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::Eb::EbParams Struct Reference

Parameters used by both TEBs and MEBs, per the original comment. More...

#include <eb.hh>

Public Types

using string_t = std::string
 Alias for std::string.
 
using vecstr_t = std::vector< std::string >
 Alias for std::vector<std::string>.
 
using vecsize_t = std::vector< size_t >
 Alias for std::vector<size_t>.
 
using vecuint_t = std::vector< unsigned >
 Alias for std::vector<unsigned>.
 
using u64arr_t = std::array< uint64_t, NUM_READOUT_GROUPS >
 Array of NUM_READOUT_GROUPS uint64_t values (one per readout group).
 
using kwmap_t = std::map< std::string, std::string >
 Alias for a std::string to std::string map.
 

Public Attributes

string_t ifAddr
 Network interface to use.
 
string_t ebPort
 Event-builder port to serve.
 
string_t mrqPort
 Port on which monitor requests are received.
 
string_t instrument
 Instrument name, used for monitoring.
 
string_t collSrv
 Collection server.
 
unsigned partition
 Partition (platform) number of the chosen system.
 
string_t alias
 Unique name passed on the command line.
 
unsigned id
 Event-builder instance identifier.
 
unsigned rogs
 Bit list of all readout groups in use.
 
uint64_t contributors
 Bit list of contributor IDs.
 
uint64_t indexSources
 Contributors that provide the buffer index for results.
 
u64arr_t contractors
 Per readout group, the contributors that provide inputs.
 
u64arr_t receivers
 Per readout group, the contributors that expect results.
 
vecstr_t addrs
 Contributor addresses.
 
vecstr_t ports
 Contributor ports.
 
vecsize_t maxTrSize
 Maximum non-event EbDgram size for each contributor.
 
unsigned maxEntries
 Maximum number of entries per batch.
 
unsigned maxBuffers
 Limit of the results buffer index range.
 
vecuint_t numBuffers
 Number of input buffers for each DRP.
 
unsigned numMrqs
 Number of monitor request servers.
 
vecuint_t numMebEvBufs
 Number of monitor event buffers for each MEB.
 
string_t prometheusDir
 Prometheus configuration location for run-time monitoring.
 
vecstr_t drps
 Unique DRP names taken from the cnf id field.
 
kwmap_t kwargs
 Keyword arguments.
 
int core [2]
 CPU cores to pin threads to.
 
unsigned verbose
 Level of detail to print (mutable, so it can be changed through a const reference).
 

Detailed Description

Parameters used by both TEBs and MEBs, per the original comment.

Member Typedef Documentation

◆ kwmap_t

using Pds::Eb::EbParams::kwmap_t = std::map<std::string,std::string>

Alias for a std::string to std::string map.

◆ string_t

using Pds::Eb::EbParams::string_t = std::string

Alias for std::string.

◆ u64arr_t

using Pds::Eb::EbParams::u64arr_t = std::array<uint64_t, NUM_READOUT_GROUPS>

Array of NUM_READOUT_GROUPS uint64_t values (one per readout group).

◆ vecsize_t

using Pds::Eb::EbParams::vecsize_t = std::vector<size_t>

Alias for std::vector<size_t>.

◆ vecstr_t

using Pds::Eb::EbParams::vecstr_t = std::vector<std::string>

Alias for std::vector<std::string>.

◆ vecuint_t

using Pds::Eb::EbParams::vecuint_t = std::vector<unsigned>

Alias for std::vector<unsigned>.

Member Data Documentation

◆ addrs

vecstr_t Pds::Eb::EbParams::addrs

Contributor addresses.

◆ alias

string_t Pds::Eb::EbParams::alias

Unique name passed on the command line.

◆ collSrv

string_t Pds::Eb::EbParams::collSrv

Collection server.

◆ contractors

u64arr_t Pds::Eb::EbParams::contractors

Per readout group, the contributors that provide inputs.

◆ contributors

uint64_t Pds::Eb::EbParams::contributors

Bit list of contributor IDs.

◆ core

int Pds::Eb::EbParams::core[2]

CPU cores to pin threads to.

◆ drps

vecstr_t Pds::Eb::EbParams::drps

Unique DRP names taken from the cnf id field.

◆ ebPort

string_t Pds::Eb::EbParams::ebPort

Event-builder port to serve.

◆ id

unsigned Pds::Eb::EbParams::id

Event-builder instance identifier.

◆ ifAddr

string_t Pds::Eb::EbParams::ifAddr

Network interface to use.

◆ indexSources

uint64_t Pds::Eb::EbParams::indexSources

Contributors that provide the buffer index for results.

◆ instrument

string_t Pds::Eb::EbParams::instrument

Instrument name, used for monitoring.

◆ kwargs

kwmap_t Pds::Eb::EbParams::kwargs

Keyword arguments.

◆ maxBuffers

unsigned Pds::Eb::EbParams::maxBuffers

Limit of the results buffer index range.

◆ maxEntries

unsigned Pds::Eb::EbParams::maxEntries

Maximum number of entries per batch.

◆ maxTrSize

vecsize_t Pds::Eb::EbParams::maxTrSize

Maximum non-event EbDgram size for each contributor.

◆ mrqPort

string_t Pds::Eb::EbParams::mrqPort

Port on which monitor requests are received.

◆ numBuffers

vecuint_t Pds::Eb::EbParams::numBuffers

Number of input buffers for each DRP.

◆ numMebEvBufs

vecuint_t Pds::Eb::EbParams::numMebEvBufs

Number of monitor event buffers for each MEB.

◆ numMrqs

unsigned Pds::Eb::EbParams::numMrqs

Number of monitor request servers.

◆ partition

unsigned Pds::Eb::EbParams::partition

Partition (platform) number of the chosen system.

◆ ports

vecstr_t Pds::Eb::EbParams::ports

Contributor ports.

◆ prometheusDir

string_t Pds::Eb::EbParams::prometheusDir

Prometheus configuration location for run-time monitoring.

◆ receivers

u64arr_t Pds::Eb::EbParams::receivers

Per readout group, the contributors that expect results.

◆ rogs

unsigned Pds::Eb::EbParams::rogs

Bit list of all readout groups in use.

◆ verbose

unsigned Pds::Eb::EbParams::verbose
mutable

Level of detail to print (mutable, so it can be changed through a const reference).


The documentation for this struct was generated from the following file: