Binary record interpretation for raw events from SPC-600/630 in 4096-channel mode.
|
|
constexpr auto | adc_value () const noexcept -> u16np |
| | Read the ADC value (i.e., difference time) if this event represents a photon.
|
|
constexpr auto | gap_flag () const noexcept -> bool |
| | Read the 'gap' (data lost) flag.
|
| auto | gap_flag (bool gap) noexcept -> bh_spc600_4096ch_event & |
| | Set or clear the gap flag of this event.
|
|
constexpr auto | invalid_flag () const noexcept -> bool |
| | Read the 'invalid' flag.
|
|
constexpr auto | macrotime () const noexcept -> u32np |
| | Read the macrotime counter value (no rollover correction).
|
|
constexpr auto | macrotime_overflow_flag () const noexcept -> bool |
| | Read the 'macrotime overflow' flag.
|
|
constexpr auto | routing_signals () const noexcept -> u8np |
| | Read the routing signals (usually the detector channel) if this event represents a photon.
|
|
|
static constexpr auto | is_multiple_macrotime_overflow () noexcept -> bool |
| | Determine if this event represents multiple macrotime overflows.
|
| static constexpr auto | make_invalid_photon (u32np macrotime, u16np adc_value, bool macrotime_overflow=false) -> bh_spc600_4096ch_event |
| | Make an event representing an invalid photon event.
|
| static constexpr auto | make_photon (u32np macrotime, u16np adc_value, u8np route, bool macrotime_overflow=false) -> bh_spc600_4096ch_event |
| | Make an event representing a valid photon event.
|
|
static constexpr auto | marker_bits () noexcept -> u8np |
| | Read the marker bits (mask) if this event represents markers.
|
|
static constexpr auto | marker_flag () noexcept -> bool |
| | Read the 'marker' flag.
|
|
static constexpr auto | multiple_macrotime_overflow_count () noexcept -> u32np |
| | Read the macrotime overflow count if this event represents multiple macrotime overflows.
|