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

A batch of contiguous input datagrams being built by TebContributor. More...

#include <TebContributor.hh>

Public Member Functions

 CtrbBatch (const Pds::EbDgram *dgram, bool contractor_)
 Start a batch at dgram: entries is 1 (0 if dgram is null), start and end are dgram, tStart is now and contractor is contractor_.
 

Public Attributes

unsigned entries
 Number of datagrams in the batch.
 
time_point_t tStart
 Time at which the batch was started; used by TebContributor::timeout() and for the batch age metric.
 
const Pds::EbDgram * start
 First datagram of the batch, or nullptr when no batch is open.
 
const Pds::EbDgram * end
 Last datagram of the batch.
 
bool contractor
 True if any datagram in the batch is in a readout group listed in TebCtrbParams::contractor (provides trigger input).
 

Detailed Description

A batch of contiguous input datagrams being built by TebContributor.

Constructor & Destructor Documentation

◆ CtrbBatch()

Pds::Eb::CtrbBatch::CtrbBatch ( const Pds::EbDgram *  dgram,
bool  contractor_ 
)

Start a batch at dgram: entries is 1 (0 if dgram is null), start and end are dgram, tStart is now and contractor is contractor_.

Member Data Documentation

◆ contractor

bool Pds::Eb::CtrbBatch::contractor

True if any datagram in the batch is in a readout group listed in TebCtrbParams::contractor (provides trigger input).

◆ end

const Pds::EbDgram* Pds::Eb::CtrbBatch::end

Last datagram of the batch.

◆ entries

unsigned Pds::Eb::CtrbBatch::entries

Number of datagrams in the batch.

◆ start

const Pds::EbDgram* Pds::Eb::CtrbBatch::start

First datagram of the batch, or nullptr when no batch is open.

◆ tStart

time_point_t Pds::Eb::CtrbBatch::tStart

Time at which the batch was started; used by TebContributor::timeout() and for the batch age metric.


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