lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Drp::EvtBatcherSubFrameTail Class Reference

Packed tail that follows each subframe: payload size, tdest, first and last tuser bytes and a width code. More...

#include <EventBatcher.hh>

Public Member Functions

void * data ()
 Return the start of the subframe data: this tail address minus the size rounded up to a whole line (a size of 0 is logged as corrupt).
 
unsigned width ()
 Return the width code of the subframe.
 
unsigned tdest ()
 Return the tdest of the subframe; BEBDetector uses it as the subframe index.
 
unsigned & size ()
 Return a reference to the payload size in bytes.
 

Friends

class EvtBatcherIterator
 

Detailed Description

Packed tail that follows each subframe: payload size, tdest, first and last tuser bytes and a width code.

The subframe data precedes the tail, padded to a whole line.

Member Function Documentation

◆ data()

void * Drp::EvtBatcherSubFrameTail::data ( )
inline

Return the start of the subframe data: this tail address minus the size rounded up to a whole line (a size of 0 is logged as corrupt).

◆ size()

unsigned & Drp::EvtBatcherSubFrameTail::size ( )
inline

Return a reference to the payload size in bytes.

◆ tdest()

unsigned Drp::EvtBatcherSubFrameTail::tdest ( )
inline

Return the tdest of the subframe; BEBDetector uses it as the subframe index.

◆ width()

unsigned Drp::EvtBatcherSubFrameTail::width ( )
inline

Return the width code of the subframe.

Friends And Related Symbol Documentation

◆ EvtBatcherIterator

friend class EvtBatcherIterator
friend

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