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

64-bit word whose low 56 bits are the pulse ID and whose upper 8 bits carry control bits from the timing system (per the code comment). More...

#include <EbDgram.hh>

Inherited by Pds::EbDgram, and Pds::TimingHeader.

Public Member Functions

 PulseId (uint64_t value)
 Store value as the whole 64-bit word, control bits included.
 
uint64_t pulseId () const
 Return the low 56 bits of the word (the pulse ID without the control bits).
 

Protected Attributes

uint64_t _pulseIdAndControl
 

Detailed Description

64-bit word whose low 56 bits are the pulse ID and whose upper 8 bits carry control bits from the timing system (per the code comment).

Constructor & Destructor Documentation

◆ PulseId()

Pds::PulseId::PulseId ( uint64_t  value)
inline

Store value as the whole 64-bit word, control bits included.

Member Function Documentation

◆ pulseId()

uint64_t Pds::PulseId::pulseId ( ) const
inline

Return the low 56 bits of the word (the pulse ID without the control bits).

Member Data Documentation

◆ _pulseIdAndControl

uint64_t Pds::PulseId::_pulseIdAndControl
mutableprotected

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