|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Packed (1-byte aligned) 153-byte timing record whose fields follow the order of the TimingDef name list. More...
#include <TimingDef.hh>
Public Types | |
| enum | FixedRates { _1Hz , _10Hz , _100Hz , _1kHz , _10kHz , _71kHz , _1MHz } |
| Indices into fixedRates for fixedRate(); the rates are taken from the enumerator names. More... | |
Public Member Functions | |
| bool | fixedRate (FixedRates r) const |
| Return true if fixedRates[r] is non-zero. | |
| bool | eventCode (unsigned code) const |
| Return true if bit (code & 0xf) of sequenceValues[code >> 4] is set. | |
Public Attributes | |
| uint64_t | pulseId |
| Pulse ID (64 bits). | |
| uint64_t | timeStamp |
| Timestamp (64 bits). | |
| uint8_t | fixedRates [10] |
| Ten fixed-rate flags, indexed by FixedRates; non-zero means set (see fixedRate()). | |
| uint8_t | acRates [6] |
| Six AC-rate flags. Inferred from the name; not verified in code. | |
| uint8_t | timeSlot |
| Time slot. Inferred from the name; not verified in code. | |
| uint16_t | timeSlotPhase |
| Time slot phase. Inferred from the name; not verified in code. | |
| uint8_t | ebeamPresent |
| Electron-beam-present flag. Inferred from the name; not verified in code. | |
| uint8_t | ebeamDestn |
| Electron beam destination. Inferred from the name; not verified in code. | |
| uint16_t | ebeamCharge |
| Electron beam charge (16-bit raw value). Inferred from the name; not verified in code. | |
| uint16_t | ebeamEnergy [4] |
| Four electron beam energy values (16-bit raw). Inferred from the name; not verified in code. | |
| uint16_t | xWavelength [2] |
| Two X-ray wavelength values (16-bit raw). Inferred from the name; not verified in code. | |
| uint16_t | dmod5 |
| 16-bit value named dmod5; meaning not shown in code. | |
| uint8_t | mpsLimits [16] |
| Sixteen MPS limit values. Inferred from the name; not verified in code. | |
| uint8_t | mpsPowerClass [16] |
| Sixteen MPS power class values. Inferred from the name; not verified in code. | |
| uint16_t | sequenceValues [18] |
| Eighteen 16-bit sequence words; eventCode() reads event code bits from them. | |
| uint32_t | inhibitCounts [8] |
| Eight 32-bit inhibit counters. Inferred from the name; not verified in code. | |
Packed (1-byte aligned) 153-byte timing record whose fields follow the order of the TimingDef name list.
Field meanings below come from the names only unless stated otherwise.
Indices into fixedRates for fixedRate(); the rates are taken from the enumerator names.
|
inline |
Return true if bit (code & 0xf) of sequenceValues[code >> 4] is set.
|
inline |
Return true if fixedRates[r] is non-zero.
| uint8_t Drp::TimingData::acRates[6] |
Six AC-rate flags. Inferred from the name; not verified in code.
| uint16_t Drp::TimingData::dmod5 |
16-bit value named dmod5; meaning not shown in code.
| uint16_t Drp::TimingData::ebeamCharge |
Electron beam charge (16-bit raw value). Inferred from the name; not verified in code.
| uint8_t Drp::TimingData::ebeamDestn |
Electron beam destination. Inferred from the name; not verified in code.
| uint16_t Drp::TimingData::ebeamEnergy[4] |
Four electron beam energy values (16-bit raw). Inferred from the name; not verified in code.
| uint8_t Drp::TimingData::ebeamPresent |
Electron-beam-present flag. Inferred from the name; not verified in code.
| uint8_t Drp::TimingData::fixedRates[10] |
Ten fixed-rate flags, indexed by FixedRates; non-zero means set (see fixedRate()).
| uint32_t Drp::TimingData::inhibitCounts[8] |
Eight 32-bit inhibit counters. Inferred from the name; not verified in code.
| uint8_t Drp::TimingData::mpsLimits[16] |
Sixteen MPS limit values. Inferred from the name; not verified in code.
| uint8_t Drp::TimingData::mpsPowerClass[16] |
Sixteen MPS power class values. Inferred from the name; not verified in code.
| uint64_t Drp::TimingData::pulseId |
Pulse ID (64 bits).
| uint16_t Drp::TimingData::sequenceValues[18] |
Eighteen 16-bit sequence words; eventCode() reads event code bits from them.
| uint8_t Drp::TimingData::timeSlot |
Time slot. Inferred from the name; not verified in code.
| uint16_t Drp::TimingData::timeSlotPhase |
Time slot phase. Inferred from the name; not verified in code.
| uint64_t Drp::TimingData::timeStamp |
Timestamp (64 bits).
| uint16_t Drp::TimingData::xWavelength[2] |
Two X-ray wavelength values (16-bit raw). Inferred from the name; not verified in code.