|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
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). | |
A batch of contiguous input datagrams being built by TebContributor.
| 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_.
| bool Pds::Eb::CtrbBatch::contractor |
True if any datagram in the batch is in a readout group listed in TebCtrbParams::contractor (provides trigger input).
| const Pds::EbDgram* Pds::Eb::CtrbBatch::end |
Last datagram of the batch.
| unsigned Pds::Eb::CtrbBatch::entries |
Number of datagrams in the batch.
| const Pds::EbDgram* Pds::Eb::CtrbBatch::start |
First datagram of the batch, or nullptr when no batch is open.
| time_point_t Pds::Eb::CtrbBatch::tStart |
Time at which the batch was started; used by TebContributor::timeout() and for the batch age metric.