|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
TransitionBase with accessors that decode fields of the env word. More...
#include <Dgram.hh>
Inherits XtcData::TransitionBase.
Inherited by XtcData::Dgram.
Public Member Functions | |
| Transition () | |
| Default constructor; fields are left uninitialized as in TransitionBase(). | |
| Transition (Type type_, TransitionId::Value tid_, const TimeStamp &time_, uint32_t env_) | |
| Forward all arguments to TransitionBase(type_, tid_, time_, env_). | |
| unsigned | control () const |
| Return env bits 31:24. | |
| TransitionId::Value | service () const |
| Return env bits 27:24 as a TransitionId::Value. | |
| Type | type () const |
| Return env bits 29:28 as a Type. | |
| bool | isEvent () const |
| Return true if service() is TransitionId::L1Accept. | |
| bool | isExtended () const |
| Return true if env bit 16 is set and isEvent() is false. | |
Public Member Functions inherited from XtcData::TransitionBase | |
| TransitionBase () | |
| Default constructor; time and env are left uninitialized. | |
| TransitionBase (Type type_, TransitionId::Value tid_, const TimeStamp &time_, uint32_t env_) | |
| Set time to time_ and env to (type_<<28)|(tid_<<24)|(env_&0xffffff). | |
| uint16_t | readoutGroups () const |
| Return the low 16 bits of env. | |
Additional Inherited Members | |
Public Types inherited from XtcData::TransitionBase | |
| enum | Type { Event = 0 , Occurrence = 1 , Marker = 2 } |
| Transition type; Transition::type() reads it from env bits 29:28. More... | |
| enum | { NumberOfTypes = 3 } |
| Count of Type values. More... | |
Public Attributes inherited from XtcData::TransitionBase | |
| TimeStamp | time |
| Datagram timestamp. | |
| uint32_t | env |
| Packed word: type, transition id and 24 low bits (layout in the class description). | |
TransitionBase with accessors that decode fields of the env word.
|
inline |
Default constructor; fields are left uninitialized as in TransitionBase().
|
inline |
Forward all arguments to TransitionBase(type_, tid_, time_, env_).
|
inline |
Return env bits 31:24.
|
inline |
Return true if service() is TransitionId::L1Accept.
|
inline |
Return true if env bit 16 is set and isEvent() is false.
|
inline |
Return env bits 27:24 as a TransitionId::Value.
|
inline |
Return env bits 29:28 as a Type.