|
| | CubeResultDgram (const Pds::EbDgram &dgram, unsigned id) |
| | Construct as ResultDgram(dgram, id).
|
| |
| void | record (bool value) |
| | Set or clear the record-event bit (auxdata bit 0).
|
| |
| void | binIndex (uint32_t value) |
| | Set the bin index (auxdata bits 23-4) to value, masked to 20 bits.
|
| |
| void | updateRecord (bool value) |
| | Set or clear the record-bin bit (auxdata bit 1).
|
| |
| void | updateMonitor (bool value) |
| | Set or clear the monitor-bin bit (auxdata bit 2).
|
| |
| void | flush (bool value) |
| | Set or clear the flush bit (auxdata bit 3).
|
| |
| uint32_t | binIndex () const |
| | Return the bin index (auxdata bits 23-4).
|
| |
| bool | record () const |
| | Return the record-event bit (auxdata bit 0).
|
| |
| bool | updateRecord () const |
| | Return the record-bin bit (auxdata bit 1).
|
| |
| bool | updateMonitor () const |
| | Return the monitor-bin bit (auxdata bit 2).
|
| |
| bool | flush () const |
| | Return the flush bit (auxdata bit 3).
|
| |
| void | dump (const char *title) const |
| | Print title followed by the whole object as 32-bit hex words to stdout.
|
| |
| | ResultDgram (const Pds::EbDgram &dgram, unsigned id) |
| | Copy the pulse ID and transition header of dgram, use a new Xtc of TypeId::Data (version 0) with source Src(id, Level::Event), zero both words, and add their size to the Xtc extent.
|
| |
| void | prescale (bool value) |
| | Set or clear the prescale bit (bit 0) of the result word.
|
| |
| void | persist (bool value) |
| | Set or clear the persist bit (bit 1) of the result word.
|
| |
| void | monitor (uint32_t value) |
| | Set the monitor field (MAX_MRQS bits starting at bit 2) of the result word to value, masked to the field width.
|
| |
| void | auxdata (uint32_t value) |
| | Set the auxdata field (bits 31-8) of the result word to value, masked to 24 bits.
|
| |
| bool | prescale () const |
| | Return true if the prescale bit (bit 0) is set.
|
| |
| bool | persist () const |
| | Return true if the persist bit (bit 1) is set.
|
| |
| uint32_t | monitor () const |
| | Return the monitor field (MAX_MRQS bits starting at bit 2), shifted down.
|
| |
| uint32_t | auxdata () const |
| | Return the auxdata field (bits 31-8), shifted down.
|
| |
| uint32_t | data () const |
| | Return the whole 32-bit result word.
|
| |
| void | monBufNo (uint32_t monBufNo_) |
| | Set the monitor buffer number word (CubeConfigDgram stores its ResultType in this word).
|
| |
| uint32_t | monBufNo () const |
| | Return the monitor buffer number word.
|
| |
| | EbDgram (const PulseId &pulseId, const Dgram &dgram) |
| | Construct from the pulse ID of pulseId (control bits dropped) and a copy of dgram.
|
| |
| | EbDgram (const TimingHeader &th, const XtcData::Src src, uint32_t envRogMask) |
| | Construct from a timing header: pulse ID (control bits dropped), time, env set to the control bits in bits 31-24 plus th.env masked by envRogMask, and an empty Parent Xtc with source src.
|
| |
| void | setEOL () const |
| | Set bit 62 of the pulse ID word, marking the last entry of a batch (callable on const objects).
|
| |
| bool | isEOL () const |
| | Return true if bit 62 of the pulse ID word is set.
|
| |
| bool | keepRaw () const |
| | Return bit 22 of env.
|
| |
| | 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).
|
| |
| | Dgram () |
| | Default constructor; header fields are uninitialized and xtc is default-constructed (damage 0, extent 0).
|
| |
| | Dgram (const Transition &transition_) |
| | Copy the header from transition_; xtc is default-constructed (damage 0, extent 0).
|
| |
| | Dgram (const Transition &transition_, const Xtc &xtc_) |
| | Copy the header from transition_ and copy-construct xtc from xtc_.
|
| |
| | 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.
|
| |
| | 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.
|
| |
ResultDgram whose auxdata field holds a record-event bit (bit 0), a record-bin bit (bit 1), a monitor-bin bit (bit 2), a flush bit (bit 3) and a 20-bit bin index (bits 23-4).